The following procedure will help you unmask paths to a LUN:
- Identify the claim rules corresponding to the LUN and remove them:
esxcli storage claimrule remove –r <rule ID>
- Now that the rules have been deleted from the file, reload the claim rules to the memory to remove the runtime entries. Issue the following command to load the rules in the memory:
esxcli storage core claimrule load
- The runtime entries for 120 and 121 will be removed from the memory because they don't have a corresponding file entry.
- Unclaim all the paths for the LUN from the MASK_PATH plugin by using the following command syntax:
esxcli storage core ...