Reputation: 819
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?
Upvotes: 23
Views: 79702
Reputation: 341
If anyone has also the same issue, check this article from Vmware. It solved the problem for me:
Connect to the ESX/ESXi host via SSH. I used Putty for that.
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
Detach the currently attached VMDK from the virtual machine:
Reattach the newly formatted VMDK from Step 2:
Power on the virtual machine.
Upvotes: 5
Reputation: 819
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.
Upvotes: 47