To replace a disk in a CDS disk group
# 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.