System information
Delete PSA Claim Rules
Use the vSphere CLI to remove a PSA claim rule from the set of claim rules on the system.
Procedure
1 Delete a claim rule from the set of claim rules.
esxcli corestorage claimrule delete -r
<claimrule_ID>
For information on the options that the command takes, see “esxcli corestorage Command-Line Options,”
on page 86.
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.
2 Remove the claim rule from the ESX/ESXi system.
esxcli corestorage claimrule load
Mask Paths
You can prevent the ESX/ESXi host from accessing storage devices or LUNs or from using individual paths to
a LUN. Use the vSphere CLI commands to mask the paths.
When you mask paths, you create claim rules that assign the MASK_PATH plugin to the specified paths.
Procedure
1 Check what the next available rule ID is.
esxcli corestorage claimrule list
The claim rules that you use to mask paths should have rule IDs in the range of 101 – 200. If this command
shows that rule 101 and 102 already exist, you can specify 103 for the rule to add.
2 Assign the MASK_PATH plugin to a path by creating a new claim rule for the plugin.
esxcli corestorage claimrule add -r
<claimrule_ID>
-t
<type>
<required_option>
-P
<MASK_PATH>
For information on command-line options, see “esxcli corestorage Command-Line Options,” on
page 86.
3 Load the MASK_PATH claim rule into your system.
esxcli corestorage claimrule load
4 Verify that the MASK_PATH claim rule was added correctly.
esxcli corestorage claimrule list
5 If a claim rule for the masked path exists, remove the rule.
esxcli corestorage claiming unclaim
<type>
<required_option>
6 Run the path claiming rules.
esxcli corestorage claimrule run
After you assign the MASK_PATH plugin to a path, the path state becomes irrelevant and is no longer
maintained by the host. As a result, commands that display the masked path's information might show the
path state as dead.
Appendix B Managing Storage Paths and Multipathing Plugins
VMware, Inc. 83