![]() |
![]() |
![]() |
![]() |
![]() |
To convert a non-CDS disk group to a CDS disk group
vxdg
move
or vxdg
split
command to move the disks out of the disk group.
vxcdsconvert
) to convert a non-CDS disk group to a CDS disk group.
#
vxcdsconvert -g
diskgroup [-A] [-d
defaults_file] \
[-o novolstop] alignment [
attribute
=
value
] ...
The alignment
and group
keywords have the following effect
The conversion involves evacuating objects from the disk, reinitializing the disk, and relocating objects back to disk. You can specify the -o novolstop
option to perform the conversion on-line (that is, while access to the disk group continues). If the -o novolstop
option is not specified, stop any applications that are accessing the disks, and perform the conversion off-line.
-o novolstop
option can greatly increase the amount of time that is required to perform conversion. Conversion has the following side effects:
vxdg
upgrade
command. If the disk group was originally created by the conversion of an LVM volume group (VG), rolling back to the original LVM VG is not possible. If you decide to go through with the conversion, the rollback records for the disk group will be removed, so that an accidental rollback to an LVM VG cannot be done.
layout=diskalign
attribute specified can no longer be disk aligned.
In the following example, the disk group, anodg
, and all its disks are converted to CDS while keeping its volumes are still online:
# vxcdsconvert -g anodg -o novolstop group \
move_subdisks_ok=yes evac_subdisks_ok=yes \
evac_disk_list=anodg11,anodg12,anodg13,anodg14
The evac_disk_list attrinute specifies a list of disks (nodg11
through anodg14
) to which subdisks can be evacuated to disks if required.
Before you use the vxcdsconvert
command, make sure you understand its options, attributes, and keywords.
See the vxcdsconvert
(1M) manual page.