Example:

This example shows how to associate the component volumes hr_cv1 and hr_cv2 of the volume set hr_vset to the RDS hr_rvg. The example assumes that the component volumes have identical indices.

To associate the component volumes of the volume set to the RDS

  1. Verify whether the component volumes of the volume set hr_vset on the Primary and its Secondaries have identical indices using the following command on the Primary and its Secondaries:

    # vxvset -g hrdg list hr_vset

    Output looks like this:

    VOLUME       INDEX      LENGTH    KSTATE   CONTEXT
    hr_cv1       0          8388608   ENABLED      -
    hr_cv2       1          8388608   ENABLED      -
  2. Associate the component volumes hr_cv1 and hr_cv2 to the RDS hr_rvg using the following command:

    # vradmin -g hrdg addvol hr_rvg hr_vset

To associate an independent volume to a volume set associated to an RDS