Solution for LVM based Linux servers using VMware Converter showing no volumes

Solution for LVM based Linux servers using VMware Converter showing no volumes

While trying to convert some Linux servers (Ubuntu 12.04) using VMware Converter I ran into an issue. Because of the servers being LVM based I could only see the /boot volumes and no other volumes, certain servers didn’t even show the /boot volume.

No Volumes

The problem is due to the newest LVM version which has some changes made into it. The amount of lv_attr has changed from 6 to 8, you can see this using the command “lvs” which will result into the following:

bash $ lvm lvs
  LV   VG       Attr     LSize   Pool Origin Data%  Move Log Copy%  Convert
  root vg_lvm01 -wi-ao-- 495.55g                                           
  swap vg_lvm01 -wi-ao--   1.94g               

The solution is to downgrade LVM with the version which came with the initial Ubuntu 12.04 release which can be found at http://packages.ubuntu.com/precise/lvm2/.

After the downgrade you will have only 6 parameters:

bash $ lvm lvs
  LV   VG        Attr  LSize   Origin Snap%  Move Log Copy%  Convert
  root vg_lvm01 -wi-ao 495.55g                                           
  swap vg_lvm01 -wi-ao   1.94g           

Run the converter again and all volumes will be visible again.

Niels Engelen
Working as a pre-sales with an interest for anything virtual and cloud. Certified as a VMware Certified Professional 4, 5 & 6. Niels also gained the VMware vExpert award (2012-2017) and is an ex-PernixPro.

One thought on “Solution for LVM based Linux servers using VMware Converter showing no volumes

Comments are closed.

Comments are closed.