VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Examples of Using ISP from the Command Line
30 VERITAS Storage Foundation ISP Administrators Guide
Preparing a Full-Sized Snapshot Volume
Before you can take a full-sized snapshot of an application volume, you must prepare the empty
volume that is to become the snapshot volume as shown here:
# vxvoladm -g mydg -p myclpool make mysnpvol 2g type=snapshot\
init=active
This command automatically associates a data change object (DCO) and DCO volume with the
volume. For more information, see “Creating a Volume for Use as a Full-Sized Instant Snapshot
on page 76.
Taking a Full-Sized Snapshot of an Application Volume
Having prepared an empty volume, you can take a snapshot of the application volume:
# vxsnap -g mydg make source=stmrvol/snapvol=mysnpvol/syncing=on
The following command starts a full synchronization of the snapshot volume, and blocks until this
is complete:
# vxsnap -g mydg syncwait mysnpvol
For more information, see “Creating Instant Snapshots” on page 81.
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. This command sets up a 1GB cache volume, mycache, in the clone
pool, myclpool:
# vxvoladm -g mydg -p myclpool make mycache 1g type=cachevolume
For more information, see “Creating a Shared Cache Volume and Preparing Space-Optimized
Snapshots” on page 77.