At times we get into a situation where LUN are locked after storage nodes was restarted
The issue was related with locking mechanizm ATS +SCSI and later this mechanizm was change to ATS only to avoid this situation in the future.
How to investigate and fix the issue with Luns if they are locked.
Step1. Investigate the locked lun’s
- Login to esx
- run command esxcfg-info | grep -B5 “s Reserved | Pending”
- or check the logs cat /var/log/vmkwarning |more
if you see any logs like naa.xxxxx is blocked or state is doubt this is the case.
Step2. Reset locked LUN
vmkfstools –lock lunreset /vmfs/devices/disks/naa.xxxxxxx
Step3. Checking if any locked luns still exist
esxcfg-info | grep -B5 “s Reserved | Pending” or check the logs /var/log/vmkwarning
695 total views, 3 views today