VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Preparing a Volume for DRL and Snapshot Operations
60 VERITAS Storage Foundation ISP Administrator’s Guide
Growing and Shrinking Multiple Volumes
If the -M option is specified to the vxvoladm command, multiple volumes can be resized in the
same operation. For convenience, it is easiest to define the volumes that are to be resized in a file,
and then have vxvoladm read this file to resize the volumes as shown in this example:
# vxvoladm -M growby < filename
Each line of input defines the disk group, volume and length parameters for the resize and has the
following format:
diskgroup dgname volume volume_name length
When used in scripts, the input may conveniently be taken from a “here document” as shown in this
example:
vxvoladm -M shrinkto <<!!
diskgroup mydg volume vol01 10g
diskgroup mydg volume vol02 12g
!!
Preparing a Volume for DRL and Snapshot Operations
To prepare an application volume for dirty region logging (DRL) and instant snapshot operations, a
data change object (DCO) and DCO volume must be associated with the volume.
Note The procedure in this section describes how to add a version 20 DCO and DCO volume to an
application volume that you previously created in a disk group with a version number of 110
or greater. If you are creating a new volume in a disk group with a version number of 110 or
greater, you can specify the co-creation of a DCO and DCO volume and enable DRL as
described in “Creating a Volume for Use with Snapshots and DRL” on page 54.
You may need an additional license to use the DRL and FastResync features.
For information about using traditional DRL with an ISP volume, see “Adding Logs to a
Volume” on page 67.
Use the following command to add a version 20 DCO and DCO volume to an existing volume:
# vxvoladm [-g diskgroup] [-p storage_pool] add log volume \
[nlog=number] logtype=dco [regionsize=size] \
[drl=yes|no|sequential]
The nlog attribute specifies the number of DCO plexes that are created in the DCO volume. It is
recommended that you configure as many DCO plexes as there are data plexes in the volume. For
example, specify nlog=3 for a volume with 3 data plexes.