Want to know which host has a lock on a file?
Ssh in and go to the directory where the files are located.
Typ e vmkfstools -D filename
This is what you get:
If you look at owner, the last section of owner will give you a mac address belonging to the host that has a lock
Now I am going to match this nic mac with a nic on one of the hosts.
There you can see that the host that is locking the file has this mac.
The mac is attached to an unconnected nic but it still counts.
*note:
If you get all zeros for a the owner that means the owner that is locking the file is the current esxi box
Thanks to vmwarestorage
0 comments:
Post a Comment