How to delete a masking view and unmap the devices in associated storage group?
symaccess -sid 1234 delete view -name Host1_Allocation -unmap
Delete view Host1_Allocation and also unmap all the device in associated storage group.
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 add devs AAA:AABAdd the devices AAA:AAB to storage group Host1.
symaccess -sid 1234 -type storage -name Host1 remove devs AAA:AABRemove the device AAA to AAB from 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.