How to migrate KVM based VMs running in LVM setup to Vmdk images

Posted by Bond on Server Fault See other posts from Server Fault or by Bond
Published on 2011-01-03T11:57:03Z Indexed on 2011/01/03 12:55 UTC
Read the original article Hit count: 237

I am using KVM on Ubuntu Server 10.04. and Virtual Machines are running on it in LVM. I have to migrate some of them to Vmware server.How can I achieve this? I searched and came across some links but they all talked converting vmdk images to qcow or so.In this case I have OS in LVM.

I also looked at man page of qemu-img and as I understand it should do what I am asking in this thread. But how exactly should I proceed in this case.Since it is not a file based image (OS running in an LVM which has filesystem in that LVM). So I am not able to understand what should I be doing to achieve the same. Can I achieve the above with snapshots of LVMs rather than shutting down the VM itself.

© Server Fault or respective owner

Related posts about migration

Related posts about linux-kvm