How to move a device one storage group associated with a masking view to another storage group?
Copiedsymsg -sid 1234 -sg OldSG move AAAA NewSG -force
Above command move 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.