VERITAS Volume Manager 4.1 Administrator's Guide

Administering Volumes
Backing up Volumes Online
Chapter 8 313
# vxplex [-g diskgroup] dcoplex=dcologplex convert \
state=SNAPDONE plex
dcologplex is the name of an existing DCO plex that is to be associated
with the new snapshot plex. You can use the vxprint command to find out
the name of the DCO volume as described in “Adding a DCO and DCO
Volume” on page 277.
For example, to make a snapshot plex from the plex trivol-03 in the
3-plex volume trivol, you would use the following command:
# vxplex dcoplex=trivol_dcl-03 convert state=SNAPDONE
trivol-03
Here the DCO plex trivol_dco_03 is specified as the DCO plex for the new
snapshot plex.
To convert an existing plex into a snapshot plex in the SNAPDONE state
for a volume on which Non-Persistent FastResync is enabled, use the
following command:
# vxplex [-g diskgroup] convert state=SNAPDONE plex
A converted plex is in the SNAPDONE state, and can be used
immediately to create a snapshot volume.
NOTE The last complete regular plex in a volume, an incomplete regular plex,
or a dirty region logging (DRL) log plex cannot be converted into a
snapshot plex.
Backing Up Multiple Volumes Using Snapshots
To make it easier to create snapshots of several volumes at the same
time, the snapshot option accepts more than one volume name as its
argument, for example:
# vxassist [-g diskgroup] snapshot volume1 volume2 ...
By default, each replica volume is named SNAPnumber-volume, where
number is a unique serial number, and volume is the name of the volume
for which the snapshot is being taken. This default pattern can be
overridden by using the option -o name=pattern, as described on the
vxassist(1M) manual page. For example, the pattern SNAP%v-%d
reverses the order of the number and volume components in the name.