Hi,
We have our product vmdk file (monolithic sparse format) which works fine in ESXi 5.5 and 6.0. Recently we have installed ESXi 6.5 afresh and tried deploying VM with our exisiting VMDK file. But in ESXi 6.5, we get the below error in VM's log file vmware.log in host machine,
2019-01-02T10:51:17.977Z| vmx| I125: DumpDiskInfo: ide0:0 createType=2, capacity = 524288000, numLinks = 1, allocationType = 4294967295
2019-01-02T10:51:17.977Z| vmx| I125: Virtual Device for ide0:0 was already successfully destroyed
2019-01-02T10:51:17.977Z| vmx| I125: Msg_Reset:
2019-01-02T10:51:17.978Z| vmx| I125: [msg.scsi.esx.unsupportedDiskType2] Unsupported or invalid disk type 2 for 'ide0:0'. Ensure that the disk has been impor
2019-01-02T10:51:17.978Z| vmx| I125: [msg.scsi.esx.virtualDevFailed] Unable to create virtual SCSI device for 'ide0:0' (/vmfs/volumes/5c0f9295-b139f418-b471-
2019-01-02T10:51:17.978Z| vmx| I125: ----------------------------------------
We tried to convert the existing VMDK file using the vmkfstool in new ESXi 6.5 box as below,
vmkfstools -i "our_existing_vmdk.vmdk" "our_new_vmdk.vmdk" -d thin
We tried launching a VM with this converted file (our_new_vmdk.vmdk) and its works fine in ESXi 6.5. The above command internally created a flat file as well.
We cannot ship have two different VMDK files (one for ESXi 5.5 & 6 and other for ESXi 6.5). We trying to check if we can use the same VMDK across ESXi versions 5.5, 6, 6.5. Or should we ask customers to convert the file if they use ESXi 6.5. Any suggestions on this would be helpful?
FYR: We are creating VMDK from qcow2 image using the below command,
qemu-img convert -f qcow2 our_qcow2_file.qcow2 -O vmdk our_vmdk_file.vmdk
We tried using compat6 in the above command (qemu-img convert -f qcow2 our_qcow2_file.qcow2 -O vmdk our_vmdk_file.vmdk compat6) but still it didn't help.
Thanks in advance.