Splitting disk groups

To remove a self-contained set of VxVM objects from an imported source disk group to a new target disk group, use the following command:

# vxdg [-o expand] [-o override|verify] split sourcedg targetdg \
  object ...

The following output from vxprint shows the contents of disk group rootdg.

The output includes two utility fields, TUTIL0 and PUTIL0.. VxVM creates these fields to manage objects and communications between different commands and Symantec products. The TUTIL0 values are temporary; they are not maintained on reboot. The PUTIL0 values are persistent; they are maintained on reboot.

# vxprint
Disk group: rootdg
TY NAME        ASSOC      KSTATE    LENGTH     PLOFFS    STATE   TUTIL0   PUTIL0 
dg rootdg      rootdg     -         -          -         -       -        -
dm rootdg01    sda        -         17678493   -         -       -        -
dm rootdg02    sdb        -         17678493   -         -       -        -
dm rootdg03    sdc        -         17678493   -         -       -        -
dm rootdg04    sdd        -         17678493   -         -       -        -
dm rootdg05    sde        -         17678493   -         -       -        -
dm rootdg06    sdf        -         17678493   -         -       -        -
dm rootdg07    sdg        -         17678493   -         -       -        -
dm rootdg08    sdh        -         17678493   -         -       -        -
v  vol1        fsgen      ENABLED   2048       -         ACTIVE  -        -
pl  vol1-01    vol1       ENABLED   3591       -         ACTIVE  -        -
sd rootdg01-01 vol1-01    ENABLED   3591       0         -       -        -
pl vol1-02     vol1       ENABLED   3591       -         ACTIVE  -        -
sd rootdg05-01 vol1-02    ENABLED   3591       0         -       -        -

The following command removes disks rootdg07 and rootdg08 from rootdg to form a new disk group, mydg:

# vxdg -o expand split rootdg mydg rootdg07 rootdg08

The moved volumes are initially disabled following the split. Use the following commands to recover and restart the volumes in the new target disk group:

# vxrecover -g targetdg -m [volume ...]
# vxvol -g targetdg startall

The output from vxprint after the split shows the new disk group, mydg:

# vxprint
Disk group: rootdg
TY NAME        ASSOC     KSTATE     LENGTH     PLOFFS    STATE    TUTIL0     PUTIL0 
dg rootdg      rootdg    -          -          -         -        -          -
dm rootdg01    sda       -          17678493   -         -        -          -
dm rootdg02    sdb       -          17678493   -         -        -          -
dm rootdg03    sdc       -          17678493   -         -        -          -
dm rootdg04    sdd       -          17678493   -         -        -          -
dm rootdg05    sde       -          17678493   -         -        -          -
dm rootdg06    sdf       -          17678493   -         -        -          -
v vol1         fsgen     ENABLED    2048       -         ACTIVE   -          -
pl vol1-01     vol1      ENABLED    3591       -         ACTIVE   -          -
sd rootdg01-01 vol1-01   ENABLED    3591       0         -        -          -
pl vol1-02     vol1      ENABLED    3591       -         ACTIVE   -          -
sd rootdg05-01 vol1-02   ENABLED    3591       0         -        -          -
Disk group: mydg
TY NAME        ASSOC     KSTATE     LENGTH     PLOFFS    STATE    TUTIL0     PUTIL0 
dg mydg        mydg      -          -          -         -        -          -
dm rootdg07    sdg       -          17678493   -         -        -          -
dm rootdg08    sdh       -          17678493   -         -        -          -

More Information

Moving objects between disk groups

Changing subdisk attributes

Splitting shared disk groups