Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unsupported or invalid disk type 2 for 'scsi0:0'. Ensure that the disk has been imported

I just created a new virtual machine (kerio connect) on esxi 6.5 server from an existing .vmdk file.

when I try to start the virtual machine, I keep getting the following error:

Unsupported or invalid disk type 2 for 'scsi0:0'. Ensure that the disk has been imported.

Any ideas?

like image 557
Jaz Avatar asked Feb 06 '18 07:02

Jaz


2 Answers

I solved the issue by changing the Virtual Device Node from SCSI controller 0 to IDE controller 0 at the hard disk settings of the virtual machine.

like image 90
Jaz Avatar answered Nov 04 '22 13:11

Jaz


If anyone has also the same issue, check this article from Vmware. It solved for me: https://kb.vmware.com/s/article/1028943

1.Connect to the ESX/ESXi host via SSH. I used Putty for that.

2.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

3.Detach the currently attached VMDK from the virtual machine:

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

  1. Reattach the newly formatted VMDK from Step 2:

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

5.Power on the virtual machine.

like image 25
Guilherme Kich Avatar answered Nov 04 '22 14:11

Guilherme Kich