Recently had an issue starting one of my VM’s up in the lab. Turns out one of the disks had a lock in play.
A lock on the
.vmdk file can prevent a virtual machine from starting. However, since virtual machine disk files can be configured for use with any virtual machine, the file may be locked by another virtual machine that is currently running, in my case i had it running on a cloned box.
So quick scout on the web , found this command and resulted in me being able to determine:
# egrep -i DISKNAME.vmdk /vmfs/volumes/*/*/*.vmx