6.5

Table Of Contents
Option Description
--rule <rule_ID>
-r <rule_ID>
ID of the rule to be removed. Run esxcli storage core claimrule list to see the rule ID.
The following example removes rule 1015. Specify one of the options listed in “Connection Options for vCLI
Host Management Commands,” on page 19 in place of <conn_options>.
esxcli <conn_options> storage core claimrule remove -r 1015
Listing Claim Rules
The list command lists all claim rules on the system.
You can specify the claim rule class as an argument.
Option Description
--claimrule-class
<cl>
-c <cl>
Claim rule class to use in this operation. You can specify MP (Multipathing), Filter, or VAAI.
Multipathing is the default. Filter is used only for VAAI. Specify claim rules for both
VAAI_FILTER and VAAI plug-in to use it. See vSphere Storage for information about VAAI.
You can run the command as follows. The equal sign is optional, so both forms of the command have the
same result. Specify one of the options listed in “Connection Options for vCLI Host Management
Commands,” on page 19 in place of <conn_options>.
esxcli <conn_options> storage core claimrule list -c Filter
esxcli <conn_options> storage core claimrule list --claimrule-class=Filter
Loading Claim Rules
The esxcli storage core claimrule load command loads claim rules from the esx.conf conguration le
into the VMkernel. Developers and experienced storage administrators might use this command for boot
time conguration.
esxcli storage core claimrule load has no options. The command always loads all claim rules from
esx.conf.
Moving Claim Rules
The esxcli storage core claimrule move command moves a claim rule from one rule ID to another.
Options Description
--claimrule-class <cl>
-c <cl>
Claim rule class to use in this operation.
--new-rule <rule_ID>
-n <rule_ID>
New rule ID you want to give to the rule specied by the --rule option.
--rule <rule_ID>
-r <rule_ID>
ID of the rule to be removed. Run esxcli storage core claimrule list to display the
rule ID.
The following example renames rule 1016 to rule 1015 and removes rule 1016. Specify one of the options
listed in “Connection Options for vCLI Host Management Commands,” on page 19 in place of
<conn_options>.
esxcli <conn_options> storage core claimrule move -r 1015 -n 1016
Chapter 6 Managing Third-Party Storage Arrays
VMware, Inc. 113