Converting a Non-CDS Disk to a CDS Disk
Use the CDS conversion utility (vxcdsconvert) to convert non-CDS disks to CDS disks, to make them portable between different operating systems that are running VxVM with the CDS feature.
# 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] ...
Note
The existing DA record needs to have a type of auto in order to be re-initialized as a CDS disk.
You can use vxcdsconvert to convert CDS disks either singly, or by disk group:
- Use the disk keyword to specify a single disk for conversion. You might consider this option, rather than converting the entire disk group, if you do not want a CDS disk group. For example:
- Where a disk in the non-CDS disk group has cross-platform exposure, and you want other VxVM nodes to recognize the disk and not assume it is available for initialization.
- LVM on HP-UX and AIX, and Windows VxVM nodes need to recognize CDS disks, but not attempt to initialize or manage them.
- The intention is to move the disk into an existing CDS disk group.
- Use the alldisks keyword to convert all the non-CDS disks in a disk group.
In addition, you can use use the -o novolstop option to perform the conversion on-line (that is, while use of the disk continues). However, this may greatly increase the amount of time (and work) required for disk conversion as it may involve evacuating objects from the disk, reinitializing the disk, and relocating objects back to disk.
Alternatively, stop the application, and perform the conversion off-line. This requires minimal offline time.
Note
Disk conversion may take significantly longer if the -o novolstop option is specified, depending on the subdisk layout of the disk.
Refer to the vxcdsconvert(1M) manual page for further information on options, attributes, and keywords.
|