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 on GithubNiels Engelen on Twitter
Niels Engelen
Working as a Principal Analyst in Product Management for Veeam Software with an interest in anything virtual and cloud with a strong focus on AWS, Azure and Microsoft 365. He is also a VMware Certified Professional, a Veeam Certified Architect and gained the VMware vExpert award (2012-2022).

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

Comments are closed.

Comments are closed.