Archive for March 2011
VMWare Server – Failed to lock the file
Almost every time when the power goes out at my house I receive the following error when starting up an image that was already running when the lights went out.
‘Cannot open the disk ‘/path/to/machine.vmdk’ or one of the snapshot disks it depends on.
Reason: Failed to lock the file.’
This is due to a lock being held on the memory files within the directory listed in the error message.
#cd /path/tovm
#ls *lck
#rm -Rf *lck
Be careful with the rm -Rf command above please
hope this helps someone sometime.