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:
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:
[[email protected]:/vmfs/volumes/5b3a61e9-248e71e2-e165-0cc47ae7cfd1/machine] vmkfstools -x check machine.vmdk Disk needs repair. [[email protected]:/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.