OVF disk formats

ovfrhel5vmware-vmdk

I thought that VMs exported as OVF were supposed to be completely portable, but now I see there are difference disk formats

I used the VMware ovf tool to export a VMX to OVF. The disk file created with the OVF is a VMDK.

I want to import the VM into RHEV, but the Red Hat documentation says that the accepted disk formats are RAW and COW. In contrast the VMware OVF tool says it can export to: monolithicSparse, monolithicFlat, twoGbMaxExtentSparse, twoGbMaxExtentFlat, streamOptimized, thin (vSphere target), thick (vSphere target).

How can I convert my VMDK OVF to a RAW OVF and then import it to RHEV? The documented virt-v2v tool seems to only work with VMware ESX, not vmx/vmdk/ovf images on disk.

Best Answer

Try qemu-img, it supports various formats for input and input.

In a last try, you can finally mount the disk on a VM and tar or dd it to another place, more friendly to other tools.

Related Topic