VERITAS Volume Manager 3.1 Administrator's Guide
Volume Tasks
Mirroring a Volume
Chapter 6252
Step 9. Remove the temporary volume, using the following command:
# vxedit rm tempvol
For information on an alternative online backup method using the
vxassist command, see “Performing Online Backup”.
Removing a Mirror
When a mirror is no longer needed, you can remove it. Removal of a
mirror is required in the following instances:
• to provide free disk space
• to reduce the number of mirrors in a volume to increase the length of
another mirror and its associated volume. The plexes and subdisks
are removed, then the resulting space can be added to other volumes
• to remove a temporary mirror created to backup a volume and is no
longer required
to change the layout of a mirror from concatenated to striped, or back
NOTE The last valid plex associated with a volume cannot be removed.
CAUTION To save the data on a mirror to be removed, the configuration of that
mirror must be known. Parameters from that configuration (stripe unit
size and subdisk ordering) are critical to the creation of a new mirror to
contain the same data. Before this type of mirror is removed, its
configuration must be recorded.
To dissociate and remove a mirror from the associated volume, use the
following command:
# vxplex -o rm dis
plex_name
For example, to dissociate and remove a mirror named vol01-02, use the
following command:
# vxplex -o rm dis vol01-02
This command removes the mirror vol01-02 and all associated subdisks.