VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Chapter 1, Understanding ISP
Examples of Using ISP from the Command Line
29
Having created the application volume, stmrvol, you can use the following command to prepare
it for use with volume snapshots:
# vxvoladm -g mydg -p mypool add log stmrvol nlog=2 logtype=dco
This command associates a data change object (DCO) and DCO volume with the volume. The
attribute nlog is used to specify that the DCO volume has the same redundancy as the original
volume. Alternatively, you can use the vxsnap prepare command to set up the volume for
snapshots:
# vxsnap -g mydg prepare stmrvol ndcomirs=2
For more information, see “Creating Application Volumes” on page 45 and “Creating Instant
Snapshots” on page 81.
Resizing an Application Volume
If the application volume, stmrvol, that you have just created is not large enough for your needs,
you can increase its size using this command:
# vxvoladm -g mydg -p mypool growto stmrvol 4g
Any file system or other application storage layout that you have created on the volume can be
resized after you have grown the volume.
For more information, see “Resizing Volumes Online” on page 57.
Creating a Clone Storage Pool
Assuming that you also want to create full-sized snapshots of application volumes in mypool that
can be moved into different disk groups (potentially for offhost processing), the following
command creates a clone storage pool, myclpool, in the same disk group as mypool:
# vxpool -g mydg create myclpool dm=mydg09,mydg10,mydg11,mydg12 \
autogrow=pool pooldefinition=mirrored_volumes
This pool supports the creation of mirrored volumes. It also has a non-default autogrow policy
that prevents it aggregating disks from the disk group outside the pool.
For more information, see “Preparing Storage Pools for Full-Sized Instant Snapshots” on page 75.