How to find the number of devices in a storage group and also show the associated masking view?
symaccess -sid 1234 list -type storage -name MySg -v
Find the number of devices in storage group MySg and also shows the associated Masking View
You may also interested to know..
symaccess -sid 1234 list view -name Host1_Allocation -detailProvides detailed infomation about the masking view .This output is same as 'symmaccess show view'.
symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AABRemove the device AAA to AAB from storage group Host1
symaccess -sid 1234 -type storage -name Host1 add devs AAA:AABAdd the devices AAA:AAB to storage group Host1.
symaccess -sid 1234 list -type storageList all Storage Groups Created for Array 1234
symaccess -sid 1234 list -type storage -dev AAACheck whether the device AAA is part of of any Storage Groups.