The Temple of Fu

code, systems and games

VMWare Server – Failed to lock the file

leave a comment »

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.


Written by lordfu

March 23, 2011 at 10:09 pm

Posted in Linux, Other, RedHats, Slackware

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: