6.0

Table Of Contents
VMware, Inc. 95
Chapter 6 Managing Third-Party Storage Arrays
Thefollowingtroubleshootingcommandtriestounclaimallpathsonvmhba1.
esxcli <conn_options> storage core claiming unclaim --type location -A vmhba1
Runvicfg-mpath <conn_options> -ltoverifythatthecommandsucceeded.
Ifapathisthelastpathtoadevicethatwasinuse,oraifapathwasveryrecentlyinuse,theunclaimoperation
mightfail.Anerrorisloggedthatnotallpathscouldbeunclaimed.Stopprocessesthat
mightusethedevice
andwait15secondstoletthedevicebequiesced.Retrythecommand.
Managing Claim Rules
ThePSAusesclaimrulestodeterminewhichmultipathingmoduleshouldclaimthepathstoaparticular
deviceandtomanagethedevice.esxclistorage core claimrulemanagesclaimrules.
ClaimrulemodificationcommandsdonotoperateontheVMkerneldirectly.Insteadtheyoperateonthe
configurationfilebyaddingandremovingrules.
Specifyoneoftheoptionslistedin“ConnectionOptionsfor
vCLIHostManagementCommands”onpage 18inplaceof<conn_options>.
To change the current claim rules in the VMkernel
1Runoneormoreoftheesxcli storage coreclaimrulemodificationcommands(add,remove,or
move).
2Runesxcli storage core claimrule loadtoreplacethecurrentrulesintheVMkernelwiththe
modifiedrules
fromtheconfigurationfile.
Youcanalsorunesxcli storage core plugin listtolistallloadedplugins.
Adding Claim Rules
Theesxcli storage core claimrule addcommandaddsaclaimruletothesetofclaimrulesonthe
system.YoucanusethiscommandtoaddnewclaimrulesortomaskapathusingtheMASK_PATHclaimrule.
Youmustloadtherulesafteryouaddthem.
--path <path>
-p <path>
If--typeispath,unclaimsapathspecifiedbyitspathUIDorruntimename.
--plugin <plugin>
-P
If--typeisplugin,unclaimsallpathsforaspecifiedmultipathplugin.
<plugin>canbeanyvalidPSApluginonthesystem.BydefaultonlyNMPand
MASK_PATHareavailable,butadditionalplugins
mightbeinstalled.
--target <target>
-T <target>
If--typeislocation,unclaimsthepathswiththeSCSItargetnumberspecifiedby
target.Ifyoudonotspecify--target,unclaimingrunsonpathsfromalltargets.
--type <type>
-t <type>
Typeofunclaimoperationtoperform.Validvaluesarelocation,path,driver,
device,plugin,
andvendor.
--vendor <vendor>
-v <vendor>
If--typeisvendor,attemptstounclaimallpathstodeviceswithspecificvendorinfo
formultipathingpluginsorunclaimthedeviceitselfforfilterplugins.Ifthereareany
activeI/Ooperationsonthisdevice,atleastonepathfailstounclaim
Options Description
Options Description
--adapter <adapter>
-A <adapter>
Adapterofthepathstouse.Validonlyif--typeislocation.
--autoassign
-u
Addsaclaimrulebasedonitscharacteristics.Therulenumberisnotrequired.
--channel <channel>
-C <channel>
Channelofthepathstouse.Validonlyif--typeislocation.