There was an error in VMware starting CentOS cannot open the disk ' XXXXXXX.VMDK ' or one of the snapshot disks it depends on. .

Source: Internet
Author: User

Today, when unplugging the virtual machine's hard drive, it does not turn off the virtual machine, causing the virtual open to appear: Cannot open the disk ' XXXXXXX.VMDK ' or one of the snapshot disks it depends on. . A lot of information has been found to find a solution at last.

The virtual disk (. vmdk) itself has a disk protection mechanism that, in order to prevent multiple VMs from accessing the same virtual disk (. vmdk) for both data loss and performance reduction, virtual machines are used each time the virtual machine is started with a. LCK (disk Lock) file on the virtual disk (. vmdk ) for lock protection. The. LCK (disk lock) file is automatically deleted when the virtual machine shuts down. However, it is possible that the virtual machine has not been able to delete the. LCK (disk Lock) file on your system since it was not properly shut down, so the next time you start the virtual machine, the above error occurs.

The workarounds are :

Open with a text editor *. VMX file, and at the end add a line of code disk.locking = "FALSE" To restart the virtual machine, you can open it.

There was an error in VMware starting CentOS cannot open the disk ' XXXXXXX.VMDK ' or one of the snapshot disks it depends on. .

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.