Professional Documents
Culture Documents
“Tab Key” will display the content or us “ls” command to see the
content. You might be able to see some files and find the
“<vm_name>-flat.vmdk” file, and use “vmkfstools -D
/vmfs/volumes/datastore/<vm_folder_name>/<vm_name>-
flat.vmdk” command to find the lock owner.
vmkfstools -D /vmfs/volumes/datastore01/VM1/VM1-flat.vmdk
Once you execute the command you can find the MAC address of
the ESXi which is keeping the lock to the vmdk file. Here is a similar
output, unfortunately I had to blur some names in this screen
capture
use “arp -a” to view the list of the MAC addresses, I normally
execute this from vCenter to make sure the management
connectivity
From the vCenter you can see the MAC address
Now, you know the ESXi host which keeps the lock on the vmdk
and vMotion the Virtual Machine to that host and power it up. Virtual
Machine will power on without any issues.
If You Found This Post As Useful Please Rate The Post And
Share It!