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

3
Create a snapshot volume using the following command:
# vxassist [-g diskgroup] snapshot [nmirror=N] volume snapshot
If required, use the nmirror attribute to specify the number of mirrors in the
snapshot volume.
For example, to create a snapshot of voldef, use the following command:
# vxassist -g mydg snapshot voldef snapvoldef
The vxassist snapshot task detaches the finished snapshot mirror, creates
a new volume, and attaches the snapshot mirror to it. This step should only
take a few minutes. The snapshot volume, which reflects the original volume
at the time of the snapshot, is now available for backing up, while the original
volume continues to be available for applications and users.
If required, you can make snapshot volumes for several volumes in a disk
group at the same time.
See Creating multiple snapshots on page 401.
4
Use fsck (or some utility appropriate for the application running on the
volume) to clean the temporary volumes contents. For example, you can use
this command with a VxFS file system:
# fsck -F vxfs /dev/vx/rdsk/diskgroup/snapshot
The specified device must have a valid entry in the /etc/fstab file.
5
If you require a backup of the data in the snapshot, use an appropriate utility
or operating system command to copy the contents of the snapshot to tape,
or to some other backup medium.
6
When the backup is complete, you have the following choices for what to do
with the snapshot volume:
Reattach some or all of the plexes of the snapshot volume with the original
volume.
See Reattaching a snapshot volume on page 401.
If FastResync was enabled on the volume before the snapshot was taken,
this speeds resynchronization of the snapshot plexes before the backup
cycle starts again at step 3.
Dissociate the snapshot volume entirely from the original volume
See Dissociating a snapshot volume on page 403.
This may be useful if you want to use the copy for other purposes such as
testing or report generation.
399Administering volume snapshots
Creating traditional third-mirror break-off snapshots