Veritas Storage Foundation Cross-Platform Data Sharing 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008
33Maintaining your system
Disk group tasks
Changing the DRL map and log size
If DRL is enabled on a newly-created volume without specifying a log or map
size, default values are used. You can use the command line attributes
logmap_len and loglen in conjunction with the vxassist, vxvol, and vxmake
commands to set the DRL map and DRL log sizes. The attributes can be used
independently, or they can be combined.
You can change the DRL map size and DRL log size only when the volume is
disabled and the DRL maps are not in use. Changes can be made to the DRL map
size only for volumes in a CDS disk group.
The
logmap_len attribute specifies the required size, in bytes, for the DRL log. It
cannot be greater than the number of bytes available in the map on the disk.
To change the DRL map and log size
◆ Use the following commands to remove and rebuild the logs:
# vxassist -g
diskgroup
remove log
volume
nlog=0
# vxassist -g
diskgroup
addlog
volume
nlog=
nlogs
\
logtype=drl logmap_len=
len-bytes
[loglen=
len-blocks
]
Note the following restrictions
:
Creating a volume with a DRL log
To create a volume with a traditional DRL log by using the vxassist command
◆ Type the following command:
# vxassist -g
diskgroup
make
volume
length mirror=2 \
logtype=drl [loglen=
len-blocks
] [logmap_len=
len-bytes
]
This command creates log subdisks that are each equal to the size of the
DRL log.
If only logmap_len is specified The DRL log size is set to the default value (33 *
disk group alignment).
If logmap_len is greater than
(DRL log size)/2
The command fails, and you need to either provide
a sufficiently large loglen value or reduce
logmap_len.
For CDS disk groups The DRL map and log sizes are set to a minimum of
2 * (disk group alignment).