Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
source=vol2/snapvol=snapvol2 \
source=vol3/snapvol=snapvol3
The specified source volumes (vol1, vol2 and so on) may be the same volume or
different volumes.
The vxsnap make command allows the snapshots to be of different types as shown
in the following command:
# vxsnap [-g diskgroup] make \
source=vol1/snapvol=snapvol1 \
source=vol2/snapvol=snapvol2
In this example, snapvol1 is a full-sized snapshot, and snapvol2 is a
space-optimized snapshot.
Removing a linked break-off snapshot volume
To remove a linked break-off snapshot volume from a volume, use the following
command:
# vxsnap [-g diskgroup] rmmir volume|volume_set mirvol=snapvol \
[mirdg=snapdiskgroup]
The mirvol and optional mirdg attributes specify the snapshot volume, snapvol,
and its disk group, snapdiskgroup.
For example, the following command removes a linked snapshot volume, prepsnap,
from the volume, vol1:
# vxsnap -g mydg rmmir vol1 mirvol=prepsnap mirdg=mysnapdg
Adding a snapshot to a cascaded snapshot hierarchy
To create a snapshot and push it onto a snapshot hierarchy between the original
volume and an existing snapshot volume, specify the name of the existing snapshot
volume as the value of the infrontof attribute to the vxsnap make command.
The following example shows how to place the space-optimized snapshot,
thurs_bu, of the volume, dbvol, in front of the earlier snapshot, wed_bu:
# vxsnap -g dbdg make source=dbvol/snapvol=thurs_bu/\
infrontof=wed_bu/cache=dbdgcache
Similarly, the next snapshot that is taken, fri_bu, is placed in front of thurs_bu,
as shown in the following command:
117Administering instant snapshots
Creating instant snapshots