Friday, September 14, 2012

Vmware VM import Failed to open disk scsi0:0: Unsupported and/or invalid disk type 7. Did you forget to import the disk first?Unable to create virtual SCSI device for scsi0:0, Module DevicePowerOn power on failed.


Resolution

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 a VMware ESX host.

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

To import a virtual machine stored on a VMware Hosted product to a VMware ESX host, the virtual machine should first be converted using VMware vCenter Converter. For more information on conversion, see the VMware vCenter Converter documentation.
Why this happen to me :
This error comes when thin provisioned VMDK file is imported as new vm from backup, or clone VM.

Solution

Reimport the VM using the "zeroedthick"
How to :-
Connect to the ESX host using an SSH session or ILO/DRAC to use this command.
Go to /vmfs/volumes/yourdatastore/

and then give the following command

vmkfstools -i Ubuntu-server.vmdk -d zeroedthick Ubuntu-server1.vmdk

after that remove Ubuntu-server.vmdk and rename Ubuntu-Server1.vmdk to Ubuntu-Server.vmdk and continue the process of import it will work.

"zeroedthink" a flat file of full size is created. ( not thin provisioned)


No comments:

5 Faedah RTOS Linux Kernel - Apa Itu Sistem Operasi Masa Nyata (RTOS) di Malaysia

Di VIENNA dimana selepas 20 Tahun, Real-Time Linux Akhirnya Masuk ke Dalam Kernel Utama Linux. Itulah pada yang memahami bagaimana berkemban...