Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
■ Type the following command:
# vxdg init diskgroup disklist [cds={on|off}]
The format defaults to a CDS disk group, unless this is overridden by the
/etc/default/vxdg file, or by specifying the cds argument.
See the vxdg(1M) manual page for more information.
Creating a CDS disk group by using vxdiskadm
You cannot create a CDS disk group when encapsulating an existing disk, or when
converting an LVM volume.
When initializing a disk, if the target disk group is an existing CDS disk group,
vxdiskadm will only allow the disk to be initialized as a CDS disk. If the target disk
group is a non-CDS disk group, the disk can be initialized as either a CDS disk or
a non-CDS disk.
If you use the vxdiskadm command to initialize a disk into an existing CDS disk
group, the disk must be added with the cdsdisk format.
The CDS attribute for the disk group remains unchanged by this procedure.
To create a CDS disk group by using the vxdiskadm command
■ Run the vxdiskadm command, and select the “Add or initialize one or
more disks” item from the main menu. Specify that the disk group should be
a CDS disk group when prompted.
Converting non-CDS disks to CDS disks
Note: The disks must be of type of auto in order to be re-initialized as CDS disks.
To convert non-CDS disks to CDS disks
1
If the conversion is not going to performed on-line (that is, while access to
the disk group continues), stop any applications that are accessing the disks.
2
Type one of the following forms of the CDS conversion utility (vxcdsconvert)
to convert non-CDS disks to CDS disks.
# vxcdsconvert -g diskgroup [-A] [-d defaults_file] \
[-o novolstop] disk name [attribute=value] ...
# vxcdsconvert -g diskgroup [-A] [-d defaults_file] \
[-o novolstop] alldisks [attribute=value] ...
The alldisks and disk keywords have the following effect
467Migrating data between platforms
Setting up your system