vmware vmdk scsi0:0: Unsupported or invalid disk type 7.

When attempting to boot up a vmware server VMDK disk file onto an ESXi server, you may encounter the following error.

Module DevicePowerOn power on failed.
Unable to create virtual SCSI device for scsi0:0, ‘/vmfs/volumes/xxxxxxxx-xxxxxxxx-xxxx-xxxxxxxxxxxx/panama-restored/panama.vmdk’
Failed to open disk scsi0:0: Unsupported or invalid disk type 7. Make sure that the disk has been imported.

A google search will reveal many results for why this happens. Here is the simple solution I used to fix this problem for me.

I logged into the old VMware Server system as root. Yes, this solution requiress that you have both a VMware server AND the target ESXi host up and running. Also, the vmdk file must be uploaded to the ESXi host.

From VMware Server, issued the following command. Be sure to replace “source” and “target” with the names of your files, and “datastore1” with the name of your datastore.

# vmkfstools –server ESXI-HOST.YOURDOM.COM -d thin -i “/vmfs/volumes/datastore1/source/source.vmdk” “/vmfs/volumes/datastore1/source/target.vmdk”

Then you can use the new “target.vmdk” file to boot on your ESXi host.