This post is more than 5 years old
4 Posts
0
4348
Move devices from parent storage group to child storage groups
We want to use the parent and child construct for storage groups, but we already have them all setup with one parent storage group that contains all the devices. Is there a way to seamlessly take those devices and put them into child storage groups? I know that we could delete the masking view and build what we need, but I’m trying to avoid having to remove all the devices from the hosts.
Could we create a new masking view and have all the existing devices presented from both masking views? If that works, we would then delete the original masking view.
Masking View: TEST01
Storage Group: TEST01
Port Group: TEST01
Initiator Group: TEST01
Masking View: TEST01_NEW
Parent Storage Group: TEST01_NEW
Child Storage Groups:
CHILD_01
CHILD_02
Port Group: TEST01
Initiator Group: TEST01
rawstorage
419 Posts
0
June 27th, 2017 08:00
you could use symsg -sid xxx convert -cascaded TEST01 Child_01 This will convert the parent sg into a cascaded one with all devices added into child 01, you can then create TEST02 sg and move the devices from Chile_01 to Child_02 that you want
tbehman
4 Posts
0
June 27th, 2017 09:00
After I have converted the storage group to have a child storage group. What's the syntax to move a subset of the devices to another child storage group in that masking view? Can I add a blank storage group to the masking view and then move the devices between the child storage groups? Will this change the LUN address or be disruptive to the server where the storage is presented?
rawstorage
419 Posts
0
June 28th, 2017 05:00
symsg -h
symsg -sg -sid move dev