Unmasking paths to a LUN
It is possible to unmask paths to a LUN. This is done by deleting the claim rules that are using the MASK_PATH and unclaiming the paths from the plugin. Understanding how the paths to a LUN are masked will be a good starting point for this task. Refer to the recipe Masking paths to a LUN before you begin.
How to do it…
The following procedure will help you mask paths to a LUN:
Identify the claim rules corresponding to the LUN and remove them.
Syntax:
esxcli storage claimrule remove –r <rule ID>
We know that the rule IDs are
120
and121
from the recipe Masking paths to a LUN.Commands to be executed:
esxcli storage core claimrule remove -r 120 esxcli storage core claimrule remove -r 121
Now that the rules are deleted from 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 run time entries for 120 and 121 will be removed from memory because they...