VERITAS Volume Manager 4.1 Administrator's Guide

Administering Volumes
Backing up Volumes Online
Chapter 8308
Step 4. Use fsck (or some utility appropriate for the application running on the
volume) to clean the temporary volume’s contents. For example, you can
use this command:
# fsck vxfs /dev/vx/rdsk/diskgroup/tempvol
Step 5. Perform appropriate backup procedures, using the temporary volume.
Step 6. Stop the temporary volume, using the following command:
# vxvol [-g diskgroup] stop tempvol
Step 7. Dissociate the backup plex from its temporary volume, using the
following command:
# vxplex [-g diskgroup] dis plex
Step 8. Reassociate the backup plex with its original volume to regain
redundancy of the volume, using the following command:
# vxplex [-g diskgroup] att original_volume plex
Step 9. Remove the temporary volume, using the following command:
# vxedit [-g diskgroup] rm tempvol
NOTE If the file system is active during the period that the temporary volume is
created, its contents may be inconsistent. For information on an
alternative online backup method using the VxVM snapshot facility, see
the next section “Backing Up Volumes Online Using Snapshots” on
page 308
Backing Up Volumes Online Using Snapshots
NOTE You can use the procedure described in this section to create a snapshot
of a RAID-5 volume and to back it up.