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

# vxsnap [-g diskgroup] make \
source=vol1/newvol=snapvol1/cache=cacheobj \
source=vol2/newvol=snapvol2/cache=cacheobj \
source=vol3/newvol=snapvol3/cache=cacheobj \
[alloc=storage_attributes]
The vxsnap make command also allows the snapshots to be of different types,
have different redundancy, and be configured from different storage, as shown
here:
# vxsnap [-g diskgroup] make source=vol1/snapvol=snapvol1 \
source=vol2[/newvol=snapvol2]/cache=cacheobj\
[/alloc=storage_attributes2][/nmirror=number2]
source=vol3[/newvol=snapvol3][/alloc=storage_attributes3]\
/nmirror=number3
In this example, snapvol1 is a full-sized snapshot that uses a prepared volume,
snapvol2 is a space-optimized snapshot that uses a prepared cache, and snapvol3
is a break-off full-sized snapshot that is formed from plexes of the original volume.
An example of where you might want to create mixed types of snapshots at the
same time is when taking snapshots of volumes containing database redo logs
and database tables:
# vxsnap -g mydg make \
source=logv1/newvol=snplogv1/drl=sequential/nmirror=1 \
source=logv2/newvol=snplogv2/drl=sequential/nmirror=1 \
source=datav1/newvol=snpdatav1/cache=mydgcobj/drl=on \
source=datav2/newvol=snpdatav2/cache=mydgcobj/drl=on
In this example, sequential DRL is enabled for the snapshots of the redo log
volumes, and normal DRL is applied to the snapshots of the volumes that contain
the database tables. The two space-optimized snapshots are configured to share
the same cache object in the disk group. Also note that break-off snapshots are
used for the redo logs as such volumes are write intensive.
Creating instant snapshots of volume sets
Volume set names can be used in place of volume names with the following vxsnap
operations on instant snapshots: addmir, dis, make, prepare, reattach, refresh,
restore, rmmir, split, syncpause, syncresume, syncstart, syncstop, syncwait,
and unprepare.
The procedure for creating an instant snapshot of a volume set is the same as that
for a standalone volume. However, there are certain restrictions if a full-sized
instant snapshot is to be created from a prepared volume set. A full-sized instant
381Administering volume snapshots
Creating instant snapshots