Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

and re-attached to the original volume. The snapshot volume is removed if all its
snapshot plexes are snapped back. This task resynchronizes the data in the volume
so that the plexes are consistent.
The snapback operation cannot be applied to RAID-5 volumes unless they have
been converted to a special layered volume layout by the addition of a DCO and
DCO volume.
See Adding a version 0 DCO and DCO volume on page 405.
To enhance the efficiency of the snapback operation, enable FastResync on the
volume before taking the snapshot
See Enabling FastResync on a volume on page 338.
To merge one snapshot plex with the original volume, use the following command:
# vxassist [-g diskgroup] snapback snapshot
where snapshot is the snapshot copy of the volume.
To merge all snapshot plexes in the snapshot volume with the original volume,
use the following command:
# vxassist [-g diskgroup] -o allplexes snapback snapshot
To merge a specified number of plexes from the snapshot volume with the original
volume, use the following command:
# vxassist [-g diskgroup] snapback nmirror=number snapshot
Here the nmirror attribute specifies the number of mirrors in the snapshot volume
that are to be re-attached.
Once the snapshot plexes have been reattached and their data resynchronized,
they are ready to be used in another snapshot operation.
By default, the data in the original volume is used to update the snapshot plexes
that have been re-attached. To copy the data from the replica volume instead, use
the following command:
# vxassist [-g diskgroup] -o resyncfromreplica snapback snapshot
Warning: Always unmount the snapshot volume (if this is mounted) before
performing a snapback. In addition, you must unmount the file system
corresponding to the primary volume before using the resyncfromreplica option.
Administering volume snapshots
Creating traditional third-mirror break-off snapshots
402