Archive for ‘ 三月, 2012

解决 VMware 出现 "Failed to lock the file" 的错误

VMware Server 当掉后重新启动 Guest OS 时,出现

cannot open the disk '*.vmdk' or one of the snapshot disk is depends on.
Reason: Failed to lock the file.

解决方法一:

进到 VMware 的 Guest OS 资料夹,将所有的 *.lck 资料夹或档案删除

解决方法二:

手动编辑 *.vmk,加入一行:

disk.locking = "FALSE"

感觉第二种解决方式会造成未来档案使用时的安全性问题,所以我是使用第一种方式解决。

return top