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.

_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to