Masking LUN Being Used as HA Heartbeat Datastore

Last night I was working through a couple of the storage objectives for the VCAP5-DCA. One of the required skills of blueprint Objective 1.1, Implement and Manage Complex Storage Soltuions, is to understand and apply LUN masking. Jason Langer did an excellent write up on Using esxcli to Mask a LUN from ESXi on his site so I won’t repeat the whole process here but I did run into an interesting issue.

If LUN is being used as a Heartbeat Datastore by HA an error will be produced when trying to unclaim the last path to the LUN.

~ # esxcli storage core claiming unclaim -t location -A vmhba33 -C 1 -T 0 -L 8
Unable to perform unclaim. Error message was : Sysinfo error on operation returned status : Busy. Please see the VMkernel log for detailed error information

The Heartbeat Datastore preferences have to be changed so that the LUN is no longer used by HA before you will be able to mask the LUN from the host.


Hersey Cartwright is an IT professional with extensive experience designing, implementing, managing, and supporting technologies that improve business processes. Hersey is Solutions Architect for HPE SimpliVity covering Virginia, Washington DC, and Maryland. He holds the VMware Certified Design Expert (VCDX-DV #128) certification. Hersey actively participates in the VMware community and was awarded the VMware vExpert title in 2016, 2015, 2014, 2013, and 2012. He enjoys working with, teaching, and writing about virtualization and other data center technologies. Follow Hersey on Twitter @herseyc

Leave a Reply

Your email address will not be published. Required fields are marked *