volume on device naa.device_id locked, possibly because remote host Host_IP encountered an error during a volume operation and couldn’t recover"
naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:<partition number>
represents one of the partitions used in a VMFS volume, you see this message when the VMFS volume is inaccessible:Validation:
From ESXi, var/log/vmkernel.log, see error message similar to:
WARNING: LVM: 13127: The volume on the device naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:<partition number> locked, possibly because some remote host encountered an error during a volume operation and could not recover.
LVM: 11786: Failed to open device naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:<partition number> : Lock was not free
The datastore remains inaccessible to other hosts because the underlying device is locked by an active host.
vmkfstools –B vmfs_device:<partition number>
Note: You can use the parameter --breaklock instead of -B with the vmkfstools command.
For example: vmkfstools -B /vmfs/devices/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:<partition number>
VMware ESX Question:
LVM lock on device /vmfs/devices/disks/naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:<partition number> 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]:
vmkfstools –V