The "symaccess" man page says that I can remove a device from a specific storage group. But I want to remove a device from all and every storage group that it is in? Is there some way to do the equivalent of this:
symaccess -sid XXXX -name ALL -type stor -unmap remove devs YYYY ?
There is no such option in "symaccess" apparently...
All I can say, disable the device on all the FA's at one shot to stop the host r/w, and remove one by one... I'm not sure whether "Marks" script works... will try later...
when you have multiple MV with the combination of chosen volume and FA port(s), you can unmap a device from a FA port when you remove the device from last storage group,
That's a good point. We have a bunch of 3-way Clusters and BCVs so that the same Device is masked (and mapped) to multiple different servers and FA Ports in different patterns - I won't be able to "-unmap" the device from the 1st 2 servers, because it will need to be mapped to mask to the 2nd and 3rd servers, etc. I'll see how that goes.....
I wound up doing something like that after "dynamox" answered. Thanks. I wasn't removing all of the devices from the Storage Groups, just some of them.
Furthermore it appears that you can't remove the "last" device (not the highest address, but the actual 1 remaining device). I saw it in another forum answer. I'm not doing that, so I'm good.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
2527
0
Posted July 1st, 2013 13:00
I don’t think so, you will need to specify individual storage group