When I attempt to remove an ESXi server from an igroup, I encounter "Error: command failed: LUN maps for this initiator group exist"
I checked and found that a similar issue was posted in 2011:
Hi, I'm just wondering if there's a best practice, or official way to remove a vSphere server from an igroup? I have one server that I'd like to move to a new cluster and have it access a different set of LUNs but when I try to delete it's Initator ID, I get a "LUN maps for this initiator group exist iqn.......". The igroup is used by several other production vSphere servers, so I'd like to avoid offlining the LUNs or igroup.
The following reply was also found (this solution was not confirmed!!):
you can forcefuly remove the initiator from the group, just make sure the esx server does not hold any vms (put him in maintenance mode) and you actualy choose the right initiatorid 😉
igroup remove -f <esxigroup> <initiator>
As the igroup is used by several other production vSphere servers, and I would like to avoid offlining the LUNs or igroup, could you please let me know if the force option only removes the initiator from the igroup and doesnot offline/unmap the luns from this igroup.