Creating a Volume with a Version 20 DCO Volume
To create a volume with an attached version 20 DCO object and volume, use the following procedure:
-
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
For more information, see Upgrading a Disk Group.
-
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.
For more information, see the vxassist(1M) manual page.
Note
See Determining the DCO Version Number for details of how to determine the version number of a volume's DCO.
|