6.7

Table Of Contents
Procedure
1 Delete a claim rule from the set of claim rules.
esxcli storage core claimrule remove
Note By default, the PSA claim rule 101 masks Dell array pseudo devices. Do not delete this rule,
unless you want to unmask these devices.
The command takes the following options:
Option Description
-c|--claimrule-class=<str>
Indicate the claim rule class (MP, Filter, VAAI).
-P|--plugin=<str>
Indicate the plug-in.
-r|--rule=<long>
Indicate the rule ID.
This step removes the claim rule from the File class.
2 Remove the claim rule from the system.
esxcli storage core claimrule load
This step removes the claim rule from the Runtime class.
Mask Paths
You can prevent the host from accessing storage devices or LUNs or from using individual paths to a
LUN. Use the esxcli commands to mask the paths. When you mask paths, you create claim rules that
assign the MASK_PATH plug-in to the specified paths.
Prerequisites
Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Getting Started with
vSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
1 Check what the next available rule ID is.
esxcli storage core claimrule list
The claim rules that you use to mask paths have rule IDs in the range from 101 through 200. If this
command shows that rules 101 and 102 exist, you can specify 103 for the rule to add.
2 Assign the MASK_PATH plug-in to a path by creating a new claim rule for the plug-in.
esxcli storage core claimrule add -P MASK_PATH
3 Load the MASK_PATH claim rule into your system.
esxcli storage core claimrule load
4 Verify that the MASK_PATH claim rule was added correctly.
esxcli storage core claimrule list
vSphere Storage
VMware, Inc. 227