Details
For example, if naa.60060160b3c018009bd1e02f725fdd11:1 represents one of the partitions used in a VMFS volume, then the following is displayed if the VMFS volume is inaccessible:
Volume on device naa.60060160b3c018009bd1e02f725fdd11:1 locked, possibly because remote host 10.17.211.73 encountered an error during a volume operation and couldn’t recover.
If this occurs, the VMFS volume (and the virtual machines residing on the affected volume) are unavailable to the ESX/ESXi host
Solution
To correct this issue you will need to login to the ESX/ESXi console:
- For information on how to login to ESXi 4.1 and 5.0 hosts refer to Using Tech Support Mode in ESXi 4.1 and ESXi 5.0 (1017910).
- For information on how to login to ESXi 4.0 refer to Tech Support Mode for Emergency Support (1003677)
Log in to the terminal of the VMware ESX or ESXi host and run the following commands:
- Break the existing LVM lock on the datastore:# vmkfstools –B <vmfs device>Note: You can also use the parameter --breaklock instead of -B with the vmkfstools command.
From the error message above, the following command is used:
# vmkfstools -B /vmfs/devices/disks/naa.60060160b3c018009bd1e02f725fdd11:1
The following output will be displayed:VMware ESX Question:
LVM lock on device /vmfs/devices/disks/naa.60060160b3c018009bd1e02f725fdd11:1 will be forcibly broken. Please consult vmkfstools or ESX documentation to understand the consequences of this.
Please ensure that multiple servers aren't accessing this device.
Continue to break lock?
0) Yes
1) No
Please choose a number [0-1]: - Enter 0 to break the lock.
- Re-read and reload VMFS datastore metadata to memory:
# vmkfstools –V - From the vSphere UI, Refresh the Storage Datastores View under Configuration tab.
Source:-
No comments:
Post a Comment