Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
# vxsnap -g mydg syncwait mysnpvol
See “Creating instant snapshots” on page 107.
Creating a cache volume for space-optimized snapshots
If you want to use space-optimized snapshots, you must prepare a storage cache
where the snapshots can be created.
The following command sets up a 1 GB cache volume, mycache, in the clone pool,
myclpool:
# vxassist -g mydg -P myclpool make mycache 1g type=cachevolume
See “Creating a shared cache volume and preparing space-optimized snapshots”
on page 101.
Preparing a space-optimized snapshot
Having created a cache volume, you now need to prepare the space-optimized
snapshots that you require.
The following command sets up a space-optimized snapshot, mysovol, using the
cache volume, mycache:
# vxassist -g mydg -P myclpool make mysovol 2g type=snapshot \
cachevolume=mycache init=active
The argument 2g is the same as the length of the original source volume for which
the snapshot is being prepared. This value defines the logical size of the snapshot.
The actual amount of storage that the snapshot requires is less than this, and is
limited by the size of the cache volume.
See “Creating a shared cache volume and preparing space-optimized snapshots”
on page 101.
Taking a space-optimized snapshot of an application volume
Having prepared a cache volume and one or more empty space-optimized
snapshots, you can take a snapshot of the application volume as shown in the
following command:
# vxsnap -g mydg make source=stmrvol/snapvol=mysovol
See “Creating instant snapshots” on page 107.
Understanding ISP
Examples of using ISP from the command line
46