• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            兔子的技術(shù)博客

            兔子

               :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
              202 Posts :: 0 Stories :: 43 Comments :: 0 Trackbacks

            留言簿(10)

            最新評論

            閱讀排行榜

            評論排行榜

            方法1(轉(zhuǎn)自:http://blog.chinaunix.net/uid-24250828-id-3012727.html )


            打開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.錯誤。

            希望各位從事虛擬化的朋友能有所幫助,也歡迎各位來我站踴躍投稿!

            VMware虛擬機(jī)出現(xiàn)Reason: Failed to lock the file(轉(zhuǎn)) - 呱牛之家 - 呱牛之家的博客感謝作者的分享,偶使用方法1第1步就解決了

             

            問題出現(xiàn)的原因:
            虛擬磁盤(.vmdk)本身有一個磁盤保護(hù)機(jī)制,為 了防止多臺虛擬機(jī)同時訪問同一個虛擬磁盤(.vmdk)帶來的數(shù)據(jù)丟失和性能削減方面的隱患,每次啟動虛擬機(jī)的時候虛擬機(jī)會使用擴(kuò)展名為.lck(磁盤 鎖)文件對虛擬磁盤(.vmdk)進(jìn)行鎖定保護(hù)。當(dāng)虛擬機(jī)關(guān)閉時.lck(磁盤鎖)文件自動刪除。但是可能由于您非正常關(guān)閉虛擬機(jī),這時虛擬機(jī)還沒來得及 刪除您系統(tǒng)上的.lck(磁盤鎖)文件,所以當(dāng)下次您啟動虛擬機(jī)的時候出現(xiàn)了上述錯誤。


            方法2(轉(zhuǎn)自:http://www.ardamis.com/2009/11/20/vmware-cannot-open-the-disk-xxxxxx-vmdk-or-one-of-the-snapshot-disks-it-depends-on/ )

            VMware “Cannot open the disk ‘XXXXXX.vmdk’ or one of the snapshot disks it depends on.”

            From time to time, I want to copy just the minimum files for a VMware virtual machine: the two .vmdk files and the .vmx file. After moving those files to a new location or deleting a snapshot file, attempting to boot the virtual machine returns the following error message:

            Cannot open the disk ‘XXXXXX.vmdk’ or one of the snapshot disks it depends on.
            Reason: The system cannot find the file specified.

            I’ve found that following the steps below fixes the problem and allows me to boot the virtual machine as it existed at the time of creation. DO NOT USE these steps if you need to retain any changes to the machine:

            Open the *.vmx file in a text editor and find the line that refers to the old snapshot file, which will look something like:
            scsi0:0.fileName = “XXXXXX-000002.vmdk”
            or
            ide0:0.fileName = “XXXXXX-000002.vmdk”

            Change the value to the filename of the ~1kb .vmdk file (which happens to be the same as the name of the VM). For example, if your virtual machine was named “Windows XP Professional”, the line would read:

            scsi0:0.fileName = “Windows XP Professional.vmdk”

            Power on the VM. It should boot normally, but because the snapshot file is missing, the machine will boot to an earlier state.

             

            This entry was written by . It was posted on 20 November 2009 and last updated on 1 July 2010. It is categorized under NonsenseTutorials with tags .

            19 Responses to “VMware “Cannot open the disk ‘XXXXXX.vmdk’ or one of the snapshot disks it depends on.””

            posted on 2012-04-05 09:52 會飛的兔子 閱讀(7205) 評論(1)  編輯 收藏 引用 所屬分類: 軟件使用和系統(tǒng)維護(hù)

            Feedback

            # re: VMware虛擬機(jī)出現(xiàn)Reason: Failed to lock the file[未登錄] 2012-06-09 23:16 q
            方法有效  回復(fù)  更多評論
              

            久久久久久噜噜精品免费直播| 色偷偷88欧美精品久久久| 亚洲AV日韩AV天堂久久| 久久夜色精品国产欧美乱| 婷婷综合久久狠狠色99h| 久久精品无码免费不卡| 漂亮人妻被黑人久久精品| 久久国产精品免费一区| 久久午夜无码鲁丝片| 亚洲欧美国产精品专区久久| 久久久久亚洲Av无码专| 欧美久久一级内射wwwwww.| 91精品国产色综合久久| 99久久免费国产精品特黄| 国产精品成人99久久久久91gav| 国内精品九九久久精品| 欧美激情精品久久久久久久| 国产一久久香蕉国产线看观看| 久久这里有精品| 久久久WWW成人免费精品| 久久久久久久综合日本亚洲| 亚洲中文字幕无码一久久区| 久久笫一福利免费导航 | 久久人人爽人人澡人人高潮AV | 精品国产VA久久久久久久冰| 亚洲精品美女久久久久99小说 | 亚洲午夜精品久久久久久人妖| 久久99精品国产麻豆宅宅| 国产精品99久久久精品无码 | 久久久精品波多野结衣| 久久青草国产精品一区| 久久se精品一区二区| 好久久免费视频高清| 久久精品国产秦先生| 久久综合综合久久97色| 日本精品久久久中文字幕| 久久这里只有精品首页| 99久久免费只有精品国产| 岛国搬运www久久| 久久久青草青青国产亚洲免观| 久久99精品久久久久久齐齐|