VMware Cloud Community
jedijeff
Enthusiast
Enthusiast
Jump to solution

Unable to issue unclaim rules based on hba WWN

In one of my clusters, I have my hbas connected to multiple sans, i.e. 1 hba port on the card goes to 1 san, 1 to another. I am taking one san down for upgrades and replacements, and to prevent any Apd's I want to mask the entire San. I was hoping to avoid having to mask over 100 luns on nearly 20 hosts, so I started down the route of simply masking by WWN, so that I could just do 1 rule per host. These are 5.5 and 5.1 hosts:

So I issue this:

esxcli storage core claimrule add -r 200 -t target -R fc --wwnn xxxxx --wwpn xxxxx -P MASK_PATH

esxcli storage core claimrule load

All is good here and doing a "list" I can see this in a running state.

However when I try to issue the unclaim:

esxcli storage core claiming unclaim -t plugin -P MASK_PATH

I get:

Unable to find multipath plugin with the name MASK_PATH on this host

I have masked by Lun before, but never anything else. Am I issuing these commands correctly?

This particular host is 5.5U1

0 Kudos
1 Solution

Accepted Solutions
jedijeff
Enthusiast
Enthusiast
Jump to solution

I figured it out. I am doing it by vmhba. Not sure why I didn't think of that earlier. And it works fine that way.

View solution in original post

0 Kudos
1 Reply
jedijeff
Enthusiast
Enthusiast
Jump to solution

I figured it out. I am doing it by vmhba. Not sure why I didn't think of that earlier. And it works fine that way.

0 Kudos