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

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.