VM Import: “Unsupported and/or invalid disk type 7″ errors


While powering on a vm you are getting the error:

Module DevicePowerOn power on failed.
Unable to create virtual SCSI device for scsi0:0, ‘/vmfs/volumes/datastorename/VirtualMachineHome/VirtualMachineDisk.vmdk’
Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7. Did you forget to import the disk first? 


This issue occurs if a virtual machine that is meant for VMware Hosted products such as VMware Workstation, VMware Player or VMware Fusion is powered-on on an ESX/ESXi host.

The underlying format used to store virtual machines on VMware Hosted products differs from the format used to store virtual machines on ESX/ESXi hosts.


To import a virtual machine stored on a VMware Hosted product to an ESX/ESXi host, the virtual machine should first be converted using VMware vCenter Converter.

To troubleshoot this issue in ESXi 5.x and earlier versions, reformat the VMDK using the vmkfstools command, detach the currently attached VMDK from the virtual machine and then reattach it:

1)      Connect to the ESX/ESXi host via SSH and run this command

vmkfstools -i HostedVirtualDisk ESXVirtualDisk

Where HostedVirtualDisk is the path to the vmdk on the host and ESXVirtualDisk is the vmdk to be output by the command.

For example:

vmkfstools -i /vmfs/volumes/datastore/virtual_machine_folder/ virtual_machine.vmdk /vmfs/volumes/datastore/new_virtual_machine_folder/ virtual_machine.vmdk

2)      Detach the currently attached VMDK from the virtual machine:

  1. In the vSphere Client or vSphere Web Client, right-click the virtual machine and click Edit Settings.
  2. Select the hard disk.
  3. Click Remove.
  4. Select the Remove from virtual machine option.
  5. Click OK.

3)      Reattach the newly formatted VMDK from Step 2:

  1. In the vSphere Client or vSphere Web Client, right-click the virtual machine and click Edit Settings.
  2. Click Add.
  3. Select the hard disk.
  4. Click Next.
  5. Select the Use an existing virtual disk option.
  6. Click Next.
  7. Click Browse and locate the new VMDK created in Step 2.
  8. Click Next.
  9. Click Next.
  10. Click Finish to close the Add Hardware window.
  11. Click OK to close the Virtual Machine properties window.

4)      Power on the virtual machine.


About Manish Jha

Hi All I am Manish Kumar Jha aka Alex Hunt. I am currently working in VMware Software India Pvt Ltd as Operations System Engineer (vCloud Air Operations). I have around 5 Years of IT experience and have exposure on VMware vSphere, vCloud Director, RHEL and modern data center technologies like Cisco UCS and Cisco Nexus 1000v and NSX. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.
This entry was posted in Vmware. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s