VMware Cloud Community
IamAniceGuy
Contributor
Contributor

Merge a VM descriptor file and the flat disk file

Hi,

I am trying to convert vmdk images to thin in order to use them on an OVF package. The vmdk disk is created from a qcow2 image by using qemu-img. The format created by qemu-img is very old, so I am using vmkfstools to convert to thin in order to use the created image in the OVF.

I am using the following command:

vmkfstools -i sc-img-converted.vmdk sc-img-converted-thin.vmdk -d thin

The problem I am facing is that the created disk consist of two files, which is not clear how it could be used on the OVF. The converted file consist of flat file and a disk descriptor file, and I would like to have a disk as one file only. Anybody know how to do that?

Best Regards,

Khalid

0 Kudos
1 Reply
garrettc134
Enthusiast
Enthusiast

I am having the same issue, need a single vmdk image to creat a qcow2 image.

Did you ever figure this out?

0 Kudos