Veritas Storage Foundation Cross-Platform Data Sharing 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

32 Maintaining your system
Disk group tasks
Upgrading an older version non-CDS disk group
You may want to upgrade a non-CDS disk group with a version lower than 110 in
order to use new features othe rthan CDS. After upgrading the disk group, the
cds attribute is set to off, and the disk group has an alignment of 1.
Note: You must also perform a disk group conversion (using the vxcdsconvert
utility) to use the CDS feature.
To upgrade the non-CDS pre-version 110 disk group
Type the following vxdg command:
# vxdg upgrade
diskgroup
Replacing a disk in a CDS disk group
To replace a disk in a CDS disk group
Note: When replacing a disk in a CDS disk group, you cannot use a non-CDS disk
as the replacement.
Type the following commands:
# vxdg -k rmdisk
disk_name
# vxdg -k adddisk
disk_name
=
disk_access_name
The -k option retains and reuses the disk media record for the disk that is
being replaced. The following example shows a disk device disk21 being
reassigned to disk mydg01.
# vxdg -k rmdisk mydg01
# vxdg -k adddisk mydg01=disk21
For other operating systems, use the appropriate device name format.
Setting the maximum number of devices for CDS disk groups
To set the maximum number of devices that can be created in a CDS disk
group
Type the following vxdg set command:
# vxdg set maxdev=
max-devices
The maxdev attribute can take any positive integer value that is greater
than the number of devices that are currently in the disk group.