Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Chapter 9, Administering Volume Snapshots
Creating Instant Snapshots
287
Similarly, the next snapshot that is taken, fri_bu, is placed in front of thurs_bu:
# vxsnap -g dbdg make source=dbvol/newvol=fri_bu/\
infrontof=thurs_bu/cache=dbdgcache
For more information on the application of cascaded snapshots, see “Cascaded
Snapshots” on page 269.
Refreshing an Instant Snapshot (vxsnap refresh)
Refreshing an instant snapshot replaces it with another point-in-time copy of a parent
volume. To refresh one or more snapshots and make them immediately available for use,
use the following command:
# vxsnap [-g diskgroup] refresh snapvolume|snapvolume_set \
source=volume|volume_set [[snapvol2 source=vol2]...] \
[syncing=yes|no]
If the source volume is not specified, the immediate parent of the snapshot is used. For
full-sized instant snapshots, resynchronization is started by default. To disable
resynchronization, specify the syncing=no attribute. This attribute is not supported for
space-optimized snapshots.
Note The snapshot being refreshed must not be open to any application. For example,
any file system configured on the volume must first be unmounted.
It is possible to refresh a volume from an unrelated volume provided that their sizes
are compatible.
You can use the vxsnap syncwait command to wait for the synchronization of the
snapshot volume to be completed, as shown here:
# vxsnap [-g diskgroup] syncwait snapvol
See “Controlling Instant Snapshot Synchronization” on page 292 for more information.
Reattaching an Instant Snapshot (vxsnap reattach)
Note This operation is not supported for space-optimized instant snapshots.
Using the following command, some or all plexes of an instant snapshot may be
reattached to the specified original volume, or to a source volume in the snapshot
hierarchy above the snapshot volume:
# vxsnap [-g diskgroup] reattach snapvolume|snapvolume_set \
source=volume|volume_set [nmirror=number]