This article provides information and instructions on the use of the vmkfstools command to convert virtual machine disks from one type to another.
VMware vSphere ESXi 6.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
The vmkfstools command offers the ability to clone virtual machine content and also convert from one virtual machine disk (.vmdk) format into another.
Note: The host operating system chosen to perform the conversion may not necessarily support running of virtual machines via the output format defined. vmkfstools maintains the possibility of exporting virtual disks for use in other VMware products which support alternative disk formats.
vmkfstools -i input output -d format -a adaptertype
vmkfstools -i "/vmfs/volumes/Datastore/examplevm/examplevm.vmdk" "/vmfs/volumes/Datastore 2/newexamplevm/newexamplevm.vmdk" -d thin
vmkfstools -i "/vmfs/volumes/Datastore/examplevm/examplevm-000001.vmdk" "/vmfs/volumes/Datastore 2/newexamplevm/newexamplevm.vmdk" -d thin
Note:
VMware Skyline Health Diagnostics for vSphere - FAQ
For more information on vmkfstools disk options please check Virtual Disk Options
See Also:
Determining if there are leftover delta files or snapshots that VMware vSphere or Infrastructure Client cannot detect
Converting a virtual disk into a Raw Device Mapping
Troubleshooting virtual machine snapshot descriptor problems