How to change the status of all the devices in sg from ready to not ready?
symsg -sid 1234 -sg MyStorageGroup not_ready
Change the status of all the devices in SG 'MyStorageGroup' from READY to NOT READY.
You may also interested to know..
symsg -sid 1234 -sg OldSG move AAAA NewSGMove a devices from Storage Group "OldSG" to another Storage Group called "NewSG" . We have to use "-force" , if "OldSG" part of any Masking View.
symsg -sid 1234 -sg MyStorageGroup rw_enableWrite enable all the devices in SG 'MyStorageGroup'
symsg -sid 1234 -sg SG_Server_GOLD -devs AAAA:AAAF,BBBB moveall SG_Server_BRONZEMove mutiple devices from storage group "SG_Server_GOLD" to another storage group "SG_Server_BRONZE".We have to use "-force" if "SG_Server_GOLD" part of any other masking view.
symsg -sid 1234 -sg MyStorageGroup readySet the status of all devices in SG 'MyStorageGroup' to READY.
symsg -sid 1234 -sg OldSG move AAAA NewSG -forceMove the device 'AAAA' from OldSG to NewSG. OldSG is a part of masking view. This will not remove the mapping from the ports associated with Masking view part of OldSG.