Let's imagine you have a .vmdk file with a virtual machine data inside and you want to migrate this disks, to a Xen source virtual machine...
There are other "converters" provided by XEN, but this time we are going to do it manually.
First, we can convert a virtual disk from preallocated to growable with this tool from VMware:
# vmware-vdiskmanager -r vmware_image.vmdk -t 0 temporary_image.vmdk
Install qemu (on Debian apt-get install qemu). You will need the qemu-img disk image manipulation Read more...