Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

105Administering instant snapshots
Creating instant snapshots
To create and manage a space-optimized instant snapshot
1 To create a space-optimized instant snapshot,
snapvol
, use the following
forms of the
vxsnap make command:
# vxsnap [-g
diskgroup
] make source=
vol
/snapvol=
snapvol
For example, to create the space-optimized instant snapshot of the volume,
myvol, in the disk group, mydg, and the prepared snapshot, snap3myvol,
enter the following command:
# vxsnap -g mydg make source=myvol/snapvol=snap3myvol
Note: This step requires that you have created a shared cache object, and
prepared a snapshot that uses this cache.
See “Creating a shared cache volume and preparing space-optimized
snapshots” on page 97.
2 Use fsck (or some utility appropriate for the application running on the
volume) to clean the temporary volume’s contents. For example, you can use
this command:
# fsck -F vxfs /dev/vx/rdsk/
diskgroup
/
snapshot
3 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.
4 You now have the following choices of what to do with a space-optimized
instant snapshot:
Refresh the contents of the snapshot. This creates a new point-in-time
image of the original volume ready for another backup. If
synchronization was already in progress on the snapshot, this
operation may result in large portions of the snapshot having to be
resynchronized.
See “Refreshing an instant snapshot” on page 111.
Restore the contents of the original volume from the snapshot volume.
The space-optimized instant snapshot remains intact at the end of the
operation.
See “Restoring a volume from an instant snapshot” on page 113.