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后缀的文件,将其所在的文件夹删除,就可以解决了。