vmware:Cannot open the disk 'XXX' or one of the snapshot disks it depends on. reason: failed to lock the file.

今天打开vmware的Ubuntu虚拟机,发现出现Cannot open the disk 'XXX' or one of the snapshot disks it depends on. reason: failed to lock the file警告,上网查了一下,发现原来是上次异常关机,原本文件夹里出现了.lck后缀的文件,将其所在的文件夹删除,就可以解决了。

 

 If this happens as the result of a crash, rather than intentionally as a “boot-clean” restart, and you’re trying to recover, then a less-destructive thing to try first would be to delete any .LCK folders within the main VM folder. If this works, you should get your system back in an up-to-date state.

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐