6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
98 VMware, Inc.
Removing Claim Rules
Theesxcli storage core claimrule removecommandremovesaclaimrulefromthesetofclaimrules
onthesystem.
Thefollowingexampleremovesrule1015.
esxcli <conn_options> storage core claimrule remove -r 1015
Listing Claim Rules
Thelistcommandlistsallclaimrulesonthesystem.Youcanspecifytheclaimruleclassasanargument.
Youcanrunthecommandasfollows.Theequalsignisoptional,sobothformsofthecommandhavethesame
result.Specifyoneoftheoptionslistedin“ConnectionOptionsforvCLIHostManagementCommands”on
page 18inplaceof<conn_options>.
esxcli <conn_options> storage core claimrule list -c Filter
esxcli <conn_options> storage core claimrule list --claimrule-class=Filter
Loading Claim Rules
Theesxcli storage core claimrule loadcommandloadsclaimrulesfromtheesx.confconfiguration
fileintotheVMkernel.Developersandexperiencedstorageadministratorsmightusethiscommandforboot
timeconfiguration.
Thiscommandhasnooptions;italwaysloadsallclaimrulesfromesx.conf.
Moving Claim Rules
Theesxcli storage core claimrule movecommandmovesaclaimrulefromoneruleIDtoanother.
Thefollowingexamplerenamesrule1016torule1015andremovesrule1016.Specifyoneoftheoptionslisted
in“ConnectionOptionsforvCLIHostManagementCommands”onpage 18inplaceof<conn_options>.
esxcli <conn_options> storage core claimrule move -r 1015 -n 1016
IMPORTANTBydefault,thePSAclaimrule101masksDellarraypseudodevices.Donotremovethisrule,
unlessyouwanttounmaskthesedevices.
Option Description
--rule <rule_ID>
-r <rule_ID>
IDoftheruletoberemoved.Runesxcli storage core claimrule listtoseetheruleID.
Option Description
--claimrule-class <cl>
-c <cl>
Claimruleclasstouseinthisoperation.YoucanspecifyMP(Multipathing),Filter,or
VAAI.Multipathingisthedefault.FilterisusedonlyforVAAI.Specifyclaimrulesfor
bothVAAI_FILTERandVAAIplugintouseit.SeevSphereStorageforinformationabout
VAAI.
Options Description
--claimrule-class <cl>
-c <cl>
Claimruleclasstouseinthisoperation.
--new-rule <rule_ID>
-n <rule_ID>
NewruleIDyouwanttogivetotherulespecifiedbythe--ruleoption.
--rule <rule_ID>
-r <rule_ID>
IDoftheruletoberemoved.Runesxcli storage core claimrule listtodisplay
theruleID.