VMWare Server lck file keeps coming back
Posted
by
muncherelli
on Server Fault
See other posts from Server Fault
or by muncherelli
Published on 2011-02-02T15:23:28Z
Indexed on
2011/02/02
15:27 UTC
Read the original article
Hit count: 369
I am running VMWare Server 2.0 on a Debian Lenny system as a host OS. I am getting this error when I try to start a Virtual Machine
Cannot open the disk '/var/lib/vmware/Virtual Machines//.vmdk' or one of the snapshot disks it depends on. Reason: Failed to lock the file.
So I looked around on the web and found that I need to delete the .lck folder and file in order to get this error
This seems to happen any time I reboot my Debian Server. The Virtual Machines sometimes do not recover and this lck file is causing problems.
Should I create a cron script that does a rm *.lck on each of my machines on reboot? Looking for any direction on how to resolve this. It seems when i do a "reboot" command it is maybe not gracefully shutting down the VMware containers so the lock files are still intact?
© Server Fault or respective owner