VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Reorganizing the Contents of Disk Groups
128 VERITAS Volume Manager Administrator’s Guide
Moving Objects Between Disk Groups
To move a self-contained set of VxVM objects from an imported source disk group to an
imported target disk group, use the following command:
# vxdg [-o expand] [-o override|verify] move sourcedg targetdg \
object ...
The -o expand option ensures that the objects that are actually moved include all other
disks containing subdisksthat are associated withthe specified objectsor with objectsthat
they contain.
The default behavior of vxdg when moving licensed disks in an EMC array is to perform
a EMC disk compatibility check for each disk involved in the move. If the compatibility
checks succeed, the move takes place. vxdg then checks again to ensure that the
configuration has not changed since it performed the compatibility check. If the
configuration has changed, vxdg attempts to perform the entire move again.
The -o override option enables the move to take place without any EMC checking.
The -o verify option returns the access names of the disks that would be moved but
does not perform the move.
Note The -o override and -o verify options require a valid EMC license.
See “Moving Objects Between DiskGroups” onpage 265 for informationon how to move
objects between disk groups in a cluster.
For example, the following output from vxprint shows the contents of disk groups
rootdg and dg1:
# vxprint
Disk group: rootdg
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg rootdg rootdg - - - - - -
dm disk02 c1t97d0 - 17678493 - - - -
dm disk03 c1t112d0 - 17678493 - - - -
dm disk04 c1t114d0 - 17678493 - - - -
dm disk06 c1t98d0 - 17678493 - - - -
Disk group: dg1
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dg dg1 dg1 - - - - - -
dm disk01 c0t1d0 - 17678493 - - - -
dm disk05 c1t96d0 - 17678493 - - - -
dm disk07 c1t99d0 - 17678493 - - - -
dm disk08 c1t100d0 - 17678493 - - - -
v vol1 fsgen ENABLED 2048 - ACTIVE - -
pl vol1-01 vol1 ENABLED 3591 - ACTIVE - -