qemu-img formats
-
I'd like to migrate VMs from my dead proxmox host. VMs images is qcow on shared storage. I've problem with converting images, because qemu-img on xcp-ng host don't support destination format for xcp-ng.
/usr/lib64/xen/bin/qemu-img convert -o vpc vm-113-disk-0.qcow2 terminalsys.vhd qemu-img: Invalid parameter 'vpc'
But don't support middle format too.
/usr/lib64/xen/bin/qemu-img convert -O vmdk vm-113-disk-0.qcow2 terminalsys.vmdk qemu-img: Unknown file format 'vmdk'
--help write only this supported formats
Supported formats: blkdebug blklogwrites blkreplay blkverify copy-on-read file host_cdrom host_device luks nbd null-aio null-co nvme qcow qcow2 quorum raw throttle vdi
Have anyone hint howto solve without another machine for converting?
-
@pavkamlc Hi !
Usually I convert my qcow2 file to VHD directly on Proxmox.
As far as I remember, when I crashed my Proxmox in the school lab, I didn't succeed to convert the image directly on a Linux box.
I found a workaround, but it's pretty messy:
- Install a Debian VM
- Install the proxmox-ve package (you'll need the Proxmox repository)
- Mount your shared storage directly on your new VM (with NFS for example).
- Then, you can convert
Let me know if it's working !