VERITAS Volume Manager 3.1 Administrator's Guide

Volume Tasks
Mirroring a Volume
Chapter 6 251
Backing Up Volumes Using Mirroring
If a volume is mirrored, backup can be done on that volume by taking
one of the volume mirrors offline for a period of time. This removes the
need for extra disk space for the purpose of backup only. However, it also
removes redundancy of the volume for the duration of the time needed
for the backup to take place.
NOTE The information in this section does not apply to RAID-5.
You can perform backup of a mirrored volume on an active system with
these steps:
Step 1. Optionally stop user activity for a short time to improve the consistency
of the backup.
Step 2. Dissociate one of the volume mirrors (vol01-01, for this example) using
the following command:
# vxplex dis vol01-01
Step 3. Create a new, temporary volume that uses the dissociated plex, using the
following command:
# vxmake -U gen vol tempvol plex=vol01-01
Step 4. Start the temporary volume, using the following command:
# vxvol start tempvol
Step 5. Perform appropriate backup procedures, using the temporary volume.
Step 6. Stop the temporary volume, using the following command:
# vxvol stop tempvol
Step 7. Dissociate the backup plex from its temporary volume, using the
following command:
# vxplex dis vol01-01
Step 8. Reassociate the backup plex with its original volume to regain
redundancy of the volume, using the following command:
# vxplex att vol01 vol01-01