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

Moving Plexes
156 VERITAS Volume Manager Administrator’s Guide
Moving Plexes
Moving a plex copies the data content from the original plex onto a new plex. To move a
plex, use the following command:
# vxplex mv original_plex new_plex
For a move task to be successful, the following criteria must be met:
The old plex must be an active part of an active (ENABLED) volume.
The new plex must be at least the same size or larger than the old plex.
The new plex must not be associated with another volume.
The size of the plex has several implications:
If the new plex is smaller or more sparse than the original plex, an incomplete copy is
made of the data on the original plex. If an incomplete copy is desired, use the -o
force option to vxplex.
If the new plex is longer or less sparse than the original plex, the data that exists on
the original plex is copied onto the new plex. Any area that is not on the original plex,
but is represented on the new plex, is filled from other complete plexes associated
with the same volume.
If the new plex is longer than the volume itself, then the remaining area of the new
plex above the size of the volume is not initialized and remains unused.
Copying Plexes
This task copies the contents of a volume onto a specified plex. The volume to be copied
must not be enabled. The plex cannot be associated with any other volume. To copy a
plex, use the following command:
# vxplex cp volume new_plex
After the copy task is complete, new_plex is not associated with the specified volume
volume. The plex contains a complete copy of the volume data. The plex that is being
copied should be the samesize orlargerthan thevolume. If the plex being copied islarger
than the volume, an incomplete copy of the data results. For the same reason, new_plex
should not be sparse.