6.0.1

Table Of Contents
Procedure
1 Delete the MASK_PATH claim rule.
esxcli --server=server_name storage core claimrule remove -r rule#
2 Verify that the claim rule was deleted correctly.
esxcli --server=server_name storage core claimrule list
3 Reload the path claiming rules from the conguration le into the VMkernel.
esxcli --server=server_name storage core claimrule load
4 Run the esxcli --server=server_name storage core claiming unclaim command for each path to the
masked storage device.
For example:
esxcli --server=server_name storage core claiming unclaim -t location -A vmhba0 -C 0 -T 0 -L
149
5 Run the path claiming rules.
esxcli --server=server_name storage core claimrule run
Your host can now access the previously masked storage device.
Define NMP SATP Rules
The NMP SATP claim rules specify which SATP should manage a particular storage device. Usually you do
not need to modify the NMP SATP rules. If you need to do so, use the esxcli commands to add a rule to the
list of claim rules for the specied SATP.
You might need to create a SATP rule when you install a third-party SATP for a specic storage array.
In the procedure, --server=server_name species the target server. The specied target server prompts you
for a user name and password. Other connection options, such as a conguration le or session le, are
supported. For a list of connection options, see Geing Started with vSphere Command-Line Interfaces.
Prerequisites
Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Geing Started with
vSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
1 To add a claim rule for a specic SATP, run the
esxcli --server=server_name storage nmp satp rule add command. The command takes the
following options.
Option Description
-b|--boot
This is a system default rule added at boot time. Do not modify esx.conf or
add to host prole.
-c|--claim-option=string
Set the claim option string when adding a SATP claim rule.
-e|--description=string
Set the claim rule description when adding a SATP claim rule.
-d|--device=string
Set the device when adding SATP claim rules. Device rules are mutually
exclusive with vendor/model and driver rules.
-D|--driver=string
Set the driver string when adding a SATP claim rule. Driver rules are
mutually exclusive with vendor/model rules.
-f|--force
Force claim rules to ignore validity checks and install the rule anyway.
-h|--help
Show the help message.
Chapter 17 Understanding Multipathing and Failover
VMware, Inc. 201