None
The solution is to use the "vxmirror" command. Under normal conditions, vxmirror will use up space on the first enclosure before using space on the second enclosure. In order to force vxmirror to mirror across exclosures, it is necessary to create an entry in the /etc/default/vxassist file.
The vxmirror command calls the vxassist command to mirror the volumes. The vxassist behavior can be controlled by parameters in the /etc/default/vxassist file. To mirror across enclosures, create /etc/default/vxassist if it does not already exist and add the line:
mirror=enclr
# cat /etc/default/vxassist
mirror=enclr
# /opt/VRTS/bin/vxmirror -ag testdg
This will cause Volume Manager to mirror across exclosures.
v testvol1 - ENABLED ACTIVE 4194304 SELECT - fsgen
pl testvol1-01 testvol1 ENABLED ACTIVE 4194304 CONCAT - RW
sd disk1-01 testvol1-01 disk1 0 4194304 0 c2t5006016039A01140d0 ENA
pl testvol1-02 testvol1 ENABLED ACTIVE 4194304 CONCAT - RW
sd disk6-01 testvol1-02 disk6 0 4194304 0 c2t5006016830208320d0 ENA
v testvol2 - ENABLED ACTIVE 4194304 SELECT - fsgen
pl testvol2-01 testvol2 ENABLED ACTIVE 4194304 CONCAT - RW
sd disk2-01 testvol2-01 disk2 0 4194304 0 c2t5006016039A01140d1 ENA
pl testvol2-02 testvol2 ENABLED ACTIVE 4194304 CONCAT - RW
sd disk7-01 testvol2-02 disk7 0 4194304 0 c2t5006016830208320d1 ENA
v testvol3 - ENABLED ACTIVE 4194304 SELECT - fsgen
pl testvol3-01 testvol3 ENABLED ACTIVE 4194304 CONCAT - RW
sd disk3-01 testvol3-01 disk3 0 4194304 0 c2t5006016039A01140d2 ENA
pl testvol3-02 testvol3 ENABLED ACTIVE 4194304 CONCAT - RW
sd disk9-01 testvol3-02 disk9 0 4194304 0 c2t5006016830208320d2 ENA
v testvol4 - ENABLED ACTIVE 4194304 SELECT - fsgen
pl testvol4-01 testvol4 ENABLED ACTIVE 4194304 CONCAT - RW
sd disk4-01 testvol4-01 disk4 0 4194304 0 c2t5006016039A01140d3 ENA
pl testvol4-02 testvol4 ENABLED TEMPRMSD 4194304 CONCAT - WO
sd disk10-01 testvol4-02 disk10 0 4194304 0 c2t5006016830208320d3 ENA
# vxdg free
GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS
testdg disk1 c2t5006016039A01140d0s2 c2t5006016039A01140d0 4194304 6225024 -
testdg disk2 c2t5006016039A01140d1s2 c2t5006016039A01140d1 4194304 6225024 -
testdg disk3 c2t5006016039A01140d2s2 c2t5006016039A01140d2 4194304 6225024 -
testdg disk4 c2t5006016039A01140d3s2 c2t5006016039A01140d3 4194304 6225024 -
testdg disk5 c2t5006016039A01140d4s2 c2t5006016039A01140d4 0 10419328 - <<<
testdg disk7 c2t5006016830208320d1s2 c2t5006016830208320d1 4194304 6225024 -
testdg disk9 c2t5006016830208320d2s2 c2t5006016830208320d2 4194304 6225024 -
testdg disk10 c2t5006016830208320d3s2 c2t5006016830208320d3 4194304 6225024 -
testdg disk11 c2t5006016830208320d4s2 c2t5006016830208320d4 0 10419328 -
Note: Storage Foundation with disks provided by two enclosures. This assumes that sufficient space has been allocated from the second enclosure that is greater than or equal to the allocated space on the first enclosure. That space must be added to the disk group which needs the volumes to be mirrored.