Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Creating a volume with a version 20 DCO volume
To create a volume with an attached version 20 DCO object and volume
1
Ensure that the disk group has been upgraded to the latest version. Use the
following command to check the version of a disk group:
# vxdg list diskgroup
To upgrade a disk group to the most recent version, use the following
command:
# vxdg upgrade diskgroup
See Upgrading the disk group version on page 264.
2
Use the following command to create the volume (you may need to specify
additional attributes to create a volume with the desired characteristics):
# vxassist [-g diskgroup] make volume length layout=layout \
logtype=dco dcoversion=20 [drl=on|sequential|off] \
[ndcomirror=number] [fastresync=on] [other attributes]
Set the value of the drl attribute to on if dirty region logging (DRL) is to be
used with the volume (this is the default setting). For a volume that will be
written to sequentially, such as a database log volume, set the value to
sequential to enable sequential DRL. The DRL logs are created in the DCO
volume. The redundancy of the logs is determined by the number of mirrors
that you specify using the ndcomirror attribute.
By default, Persistent FastResync is not enabled on newly created volumes.
Specify the fastresync=on attribute if you want to enable Persistent
FastResync on the volume.
See Determining the DCO version number on page 362.
See the vxassist(1M) manual page.
Creating a volume with dirty region logging enabled
Dirty region logging (DRL), if enabled, speeds recovery of mirrored volumes after
a system crash. To enable DRL on a volume that is created within a disk group
with a version number between 20 and 100, specify the logtype=drl attribute to
the vxassist make command as shown in this example usage:
# vxassist [-g diskgroup] make volume length layout=layout \
logtype=drl [nlog=n] [loglen=size] [other attributes]
Creating volumes
Creating a volume with a version 20 DCO volume
316