From the manual:

If you specify layout=mirror, vxassist determines the best layout for the mirrored volume. Because the advantages of the layouts are related to the size of the volume, vxassist selects the layout based on the size of the volume. For smaller volumes, vxassist uses the simpler mirrored concatenated (mirror-concat) layout. For larger volumes, vxassist uses the more complex concatenated mirror (concat-mirror) layout. The attribute stripe-mirror-col-split-trigger-pt controls the selection. Volumes that are smaller than stripe-mirror-col-split-trigger-pt are created as mirror-concat, and volumes that are larger are created as concat-mirror. By default, the attribute stripe-mirror-col-split-trigger-pt is set to one gigabyte. The value can be set in /etc/default/vxassist. If there is a reason to implement a particular layout, you can specify layout=mirror-concat or layout=concat-mirror to implement the desired layout.

If for the size reason VxVM ends up creating layered volumes, e.g.:

# vxprint -g redoadg

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg redoadg      redoadg      -        -        -        -        -       -

SR loc1          -            ACTIVE   -        -        -        -       -
SR loc2          -            ACTIVE   -        -        -        -       -

dm redoadg_LOC1_5_376a disk41 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC1_5_376e disk43 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC1_5_3772 disk45 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC2_6_376a disk37 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC2_6_376e disk35 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC2_6_3772 disk80 -        8357216  -        NOHOTUSE -       -

v  redo1_vol    fsgen        ENABLED  20971520 -        ACTIVE   -       -
pl redo1_vol-03 redo1_vol    ENABLED  20971520 -        ACTIVE   -       -
sv redo1_vol-S01 redo1_vol-03 ENABLED 8357216  0        -        -       -
sv redo1_vol-S02 redo1_vol-03 ENABLED 8357216  8357216  -        -       -
sv redo1_vol-S03 redo1_vol-03 ENABLED 4257088  16714432 -        -       -
dc redo1_vol_dco redo1_vol   -        -        -        -        -       -
v  redo1_vol_dcl gen         ENABLED  1712     -        ACTIVE   -       -
pl redo1_vol_dcl-01 redo1_vol_dcl ENABLED 1712 -        ACTIVE   -       -
sd redoadg_LOC1_5_3772-01 redo1_vol_dcl-01 ENABLED 1712 0 -       -       -
pl redo1_vol_dcl-02 redo1_vol_dcl ENABLED 1712 -        ACTIVE   -       -
sd redoadg_LOC2_6_3772-01 redo1_vol_dcl-02 ENABLED 1712 0 -       -       -

v  redo1_vol-L01 fsgen       ENABLED  8357216  -        ACTIVE   -       -
pl redo1_vol-P01 redo1_vol-L01 ENABLED 8357216 -        ACTIVE   -       -
sd redoadg_LOC1_5_376a-02 redo1_vol-P01 ENABLED 8357216 0 -       -       -
pl redo1_vol-P02 redo1_vol-L01 ENABLED 8357216 -        ACTIVE   -       -
sd redoadg_LOC2_6_376a-02 redo1_vol-P02 ENABLED 8357216 0 -       -       -

v  redo1_vol-L02 fsgen       ENABLED  8357216  -        ACTIVE   -       -
pl redo1_vol-P03 redo1_vol-L02 ENABLED 8357216 -        ACTIVE   -       -
sd redoadg_LOC1_5_376e-02 redo1_vol-P03 ENABLED 8357216 0 -       -       -
pl redo1_vol-P04 redo1_vol-L02 ENABLED 8357216 -        ACTIVE   -       -
sd redoadg_LOC2_6_376e-02 redo1_vol-P04 ENABLED 8357216 0 -       -       -

v  redo1_vol-L03 fsgen       ENABLED  4257088  -        ACTIVE   -       -
pl redo1_vol-P05 redo1_vol-L03 ENABLED 4257088 -        ACTIVE   -       -
sd redoadg_LOC1_5_3772-02 redo1_vol-P05 ENABLED 4257088 0 -       -       -
pl redo1_vol-P06 redo1_vol-L03 ENABLED 4257088 -        ACTIVE   -       -
sd redoadg_LOC2_6_3772-02 redo1_vol-P06 ENABLED 4257088 0 -       -       -

And you wish to switch to non-layered volumes, use:

# vxassist -g redoadg convert redo1_vol layout=mirror-concat

# vxprint -g redoadg

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg redoadg      redoadg      -        -        -        -        -       -

SR loc1          -            ACTIVE   -        -        -        -       -
SR loc2          -            ACTIVE   -        -        -        -       -

dm redoadg_LOC1_5_376a disk41 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC1_5_376e disk43 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC1_5_3772 disk45 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC2_6_376a disk37 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC2_6_376e disk35 -        8357216  -        NOHOTUSE -       -
dm redoadg_LOC2_6_3772 disk80 -        8357216  -        NOHOTUSE -       -

v  redo1_vol    fsgen        ENABLED  20971520 -        ACTIVE   -       -
pl redo1_vol-01 redo1_vol    ENABLED  20971520 -        ACTIVE   -       -
sd redoadg_LOC1_5_376a-01 redo1_vol-01 ENABLED 8357216 0 -        -       -
sd redoadg_LOC1_5_376e-01 redo1_vol-01 ENABLED 8357216 8357216 -  -       -
sd redoadg_LOC1_5_3772-03 redo1_vol-01 ENABLED 4257088 16714432 - -       -
pl redo1_vol-02 redo1_vol    ENABLED  20971520 -        ACTIVE   -       -
sd redoadg_LOC2_6_376a-01 redo1_vol-02 ENABLED 8357216 0 -        -       -
sd redoadg_LOC2_6_376e-01 redo1_vol-02 ENABLED 8357216 8357216 -  -       -
sd redoadg_LOC2_6_3772-03 redo1_vol-02 ENABLED 4257088 16714432 - -       -
dc redo1_vol_dco redo1_vol   -        -        -        -        -       -
v  redo1_vol_dcl gen         ENABLED  1712     -        ACTIVE   -       -
pl redo1_vol_dcl-01 redo1_vol_dcl ENABLED 1712 -        ACTIVE   -       -
sd redoadg_LOC1_5_3772-01 redo1_vol_dcl-01 ENABLED 1712 0 -       -       -
pl redo1_vol_dcl-02 redo1_vol_dcl ENABLED 1712 -        ACTIVE   -       -
sd redoadg_LOC2_6_3772-01 redo1_vol_dcl-02 ENABLED 1712 0 -       -       -

Leave a comment