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.



Subscribe
Notify of
guest
7 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Pero Perić
Pero Perić
1 year ago

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

of course it works!

Thanks!

nstojanoski
nstojanoski
1 year ago
Reply to  Pero Perić

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
Luis
9 months ago

Perfect, thank you so much!

sah
sah
6 months ago

hi very good answer an thank u a lot

dada
dada
6 months ago

Thank you good sir

jgomsi
jgomsi
5 months ago

This solved the problem I was having. Thank you for your post!

peter oomen
peter oomen
16 days ago

worked! thx, saved me a few days work

Advertisement