VMware 6.5 can’t start VM after a host crash


After a migration of a VM one of my host machines has become very unstable and freezes from time to time. My plan is to address the issue this weekend but every time i reboot the host machine one of the VM’s is not starting and u have the following errors:power-on-vm-failed

File system specific implementation of LookupAndOpen[file] failed
Object type requires hosted I/O
Cannot open the disk '/vmfs/volumes/..../.....vmdk' or one of the snapshot disks it depends on.
Module 'Disk' power on failed.
Failed to start the virtual machine.

To solve the issue you need to check the .vmdk file and repair it. If you need to repair it is good to have a backup of the file just in case.

1. Enable SSH access to your ESXi host and login

2. Check the main .vmdk file if it corrupted or not

vmkfstools -x check /path/to/your/machine.vmdk

3. To repair the file type:

vmkfstools -x repair /path/to/your/machine.vmdk

4. Start you VM!

In my case:

[root@esx02:/vmfs/volumes/5b3a61e9-248e71e2-e165-0cc47ae7cfd1/machine] vmkfstools -x check machine.vmdk
Disk needs repair.
[root@esx02:/vmfs/volumes/5b3a61e9-248e71e2-e165-0cc47ae7cfd1/machine] vmkfstools -x repair machine.vmdk
Disk was successfully repaired.

This help me few times last month so it’s here.



3
Leave a Reply

avatar
2 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
LuisnstojanoskiPero Perić Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Pero Perić
Guest
Pero Perić

did not help… :-(…. because I was repairing the wrong file!!!! :-D

of course it works!

Thanks!

nstojanoski
Guest
nstojanoski

i saw the message that it didn’t work and wanted to ask you what was the message? but i just saw that you edited your post :)

I’m glad it worked, it always works for me so far, i hope it will always do.

Regards,
Nikola

Luis
Guest
Luis

Perfect, thank you so much!