VERITAS Storage Foundation 4.1 Cross-Platform Data Sharing Administrator's Guide
Disk Group Tasks
28 VERITAS Storage Foundation CDS Administrator’s Guide
Replacing a Disk in a CDS Disk Group
To replace a disk in a CDS disk group, use the command sequence:
# vxdg -k rmdisk disk_name
# vxdg -k adddisk
Refer to the VERITAS Volume Manager Administrator’s Guide for an explanation of the -k option.
For example:
# vxdg -k rmdisk disk1
# vxdg -k adddisk disk1=c1t0d1
where c1t0d1 is the device name of a Solaris disk that is currently being reassigned to disk
disk1. For other operating systems, use the appropriate device name format, for example,
hdisk# on AIX, and sdx on Linux.
Note When replacing a disk in a CDS disk group, you cannot use a non-CDS disk as the
replacement.
Setting Device Quotas for CDS Disk Groups
Use the vxdg set command to limit the number of devices that can be created in a given CDS
disk group:
# vxdg set maxdev=max-devices
maxdev can have any positive integer value greater than the number of devices currently in the
disk group. For example:
# vxdg -g dg set maxdev=1000
Setting DRL Map Size 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.