VMware虚拟机出现Reason: Failed to lock the file
打開VMware出現(xiàn)Cannot open the disk *.vmdk or one of the snapshot disks it depends on.Reason: Failed to lock the file.錯誤的解決辦法!
?? ?今天我公司做的虛擬化服務(wù)器出現(xiàn)故障意外重啟了,主系統(tǒng)啟動之后,在啟動VMware虛擬機(jī)的時候出現(xiàn)了Cannot open the disk ?'*.vmdk' or one of the snapshot disks it depends on.Reason: Failed to ?lock the file.的錯誤,一個虛擬機(jī)無法啟動將影響到很多用戶的使用,所以我馬上開始尋找解決Reason: Failed to lock the file的辦法!于是我到百度搜索了一下這個錯誤的具體原因,搜索結(jié)果中給出了兩種解決辦法!
解決辦法一:
?? 1、在VMware該虛擬機(jī)路徑下的所有.lck文件和文件夾下刪除或遷移至其它目錄,一般就可以解決了。
?? 2、如果再次啟動VMware的Windows Vista系統(tǒng)失敗,嘗試右鍵虛擬機(jī)出錯的系統(tǒng)->Settings->Hardware->Hard Disk->Utilities->Map->映射虛擬硬盤到Z:/
?? 3、斷開虛擬硬盤,重新加載,啟動。系統(tǒng)就可以正常啟動了
經(jīng)實驗此辦法以失敗結(jié) 束。如果有遇到Cannot open the disk '*.vmdk' or one of the snapshot disks it ?depends on.Reason: Failed to lock the ?file錯誤的朋友不妨也試一下。如果您實驗成功了,請給我們留言,以便我們進(jìn)行更好的技術(shù)交流
解決辦法二:
?? 使用記事本打開*.VMX文件上加上一行代碼disk.locking = "FALSE",重新啟動該虛擬機(jī)。
使用方法二,問題得到 解決,重新啟動VMware正常啟動,不會再出現(xiàn)Cannot open the disk '*.vmdk' or one of the ?snapshot disks it depends on.Reason: Failed to lock the file.錯誤。
轉(zhuǎn)載于:https://www.cnblogs.com/suifu/p/5823117.html
總結(jié)
以上是生活随笔為你收集整理的VMware虚拟机出现Reason: Failed to lock the file的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: RF设计天线 PI型匹配layout注意
- 下一篇: 史上最详细“截图”搭建Hexo博客——F