[Pkg-libvirt-maintainers] Bug#512439: Multi-file VMDKs are not supported by qemu-img

Laurent Léonard laurent at open-minds.org
Thu Sep 9 16:24:05 UTC 2010


virt-convert uses qemu-img (or kvm-img) to convert disk images. Converting 
VMDK and sparse VMDK files works fine, but multi-file VMDKs are currently not 
supported by qemu-img.

You can find the following comment related to the qemu_convert() function in 
/usr/share/pyshared/virtconv/diskcfg.py:
"Use qemu-img to convert the given disk.  Note that at least some
version of qemu-img cannot handle multi-file VMDKs, so this can
easily go wrong.
Gentoo, Debian, and Ubuntu (potentially others) install kvm-img
with kvm and qemu-img with qemu. Both would work."

You can convert a multi-file VMDK into a monolithic VMDK using the following 
command line:
vmware-vdiskmanager -r source.vmdk -t 0 destination.vmdk

-- 
Laurent Léonard





More information about the Pkg-libvirt-maintainers mailing list