[PVE-User] w2008r2 p2v

Gilles Mocellin gilles.mocellin at nuagelibre.org
Wed Jan 22 10:20:12 CET 2014


Le 21/01/2014 21:52, Alain Péan a écrit :
> [...]
>> It seems the conversion from vmdk to qcow2 is not working correctly.
>
> Yes, I already migrated VMs from VMWare to Proxmox. The vmdk image 
> file format is equivalent to raw disk format in Proxmox. I think this 
> is this one that you should use. qcow2 is for dynamic disks growing 
> when adding more data, as are dynamic disks in VMWare.
> What I did is create in Proxmox the VM and the disk in raw format with 
> the same size as the vmdk one, then replace the proxmox raw file with 
> the vmdk files, just renaming them with the exact same name.

I remember that sometimes, the vmdk is in a splitted format, even when 
their is only one file (to small to be splitted).
In that case, qemu-img does not work, you need to convert this vmdk to a 
flat file with the vmware disk tool, something like :

$ vmware-vdiskmanager -r source.vmdk -t 0 result.vmdk

Then qemu-img can convert it to qcow2 or raw, if you want.




More information about the pve-user mailing list