Tuesday, July 16, 2019

Failed to start VM / vmware to vsphere

Error   :   Object type requires hosted I/O (76).

This shows that disk (vmdk) is corrupted, it need to be repair.

Login your vsphere server through ssh and run this command to check the disk
$ vmkfstools -x check /path/to/your/machine.vmdk
If it shows:-
Disk needs repair.

Then repair it using this command
$ vmkfstools -x repair /path/to/your/machine.vmdk
When it shows " Disk was successfully repaired."
Start your VM,
Done,

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$


if you wanna move your VM from vmware workstation to vsphere then must be change the disk (vmdk) property using this command.
vmkfstools -i vmwareVirtualDisk vsphereVirtualDisk
Eg
$ vmkfstools -i lnxsrv01.vmdk ../lnxsrv01/lnxsrv01.vmdk
It will shows like this :- (lnxsrv01.vmdk is in my case)

Destination disk format: VMFS zeroedthick
Cloning disk 'lnxsrv01.vmdk'...
Clone: 100% done.

Done

0 comments: