VMWare Server 2.0 “Power On Virtual Machine" failed to complete

VMWare Server 2.0 on CentOS

“Power On Virtual Machine" failed to complete

 If these problems persist, please contact your system administrator.
DetailsCannot open the disk ‘/var/lib/vmware/Virtual Machines/xp/xp.vmdk’ or one of the snapshot disks it depends on.Reason: Failed to lock the file.

因為不正常當機造成檔案lock住了.

此時進入

/var/lib/vmware/Virtual Machines/xp/

ls -al

看哪幾個檔是副檔名lck ( 事實上它是個目錄 )

rm 564d39ce-edb3-0a3b-27b2-8395f77b729c.vmem.lck –Rf

rm xp.vmdk.lck -Rf

移除它, 然後就可以啟動vm了.

 

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

What is 6 + 15 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)