Symantec logo

Changing membership of an RVG and a volume set

The volume set represents a logical grouping of volumes from the application perspective. In order for VVR to replicate the volume set successfully, the same volume configurations must exist on the Primary and the Secondary. Commands that break the configuration consistency will fail.

VVR tracks which component volumes make up the replicated volume set, and ensures that the component volumes of the volume set remain consistent between the Primary and the Secondary. If a component volume is added or deleted to the volume set, VVR makes the corresponding change to the RVGs on each host of the RDS. The component volumes with the same names and lengths must already exist on each host.

Membership Operations
Command
Action
Result

vradmin -tovset vset addvol rvg vol 

Adding a volume to a volume set that is associated to an RVG. 

Adds the volume to the volume set and to the RVG.  

vradmin addvol rvg vset 

Associating a volume set to an RVG 

All the component volumes of the volume set are internally associated to the RVG. 

vradmin addvol rvg vol 

Adding a component volume of a volume set to an RDS. 

If the volume set is already associated to the RDS, but some component volumes are excluded, use this command to add the component volume to the RDS. 

This operation fails if the volume set is not associated to the RDS.  

vradmin delvol rvg vset 

Removing a volume set from an RVG 

All the component volumes of the volume set are removed from the RVG. The membership of component volumes in the volume set is not affected. 

vradmin -fromvset vset delvol rvg vol 

Deleting a volume from a volume set that is associated to an RVG. 

Deletes the volume from the volume set and from the RVG. 

vradmin delvol rvg vol  

Deleting a component volume of a volume set from the RDS 

Deletes the volume from the RDS but the volume will still remain associated with the volume set.  


  Caution   Deleting a volume this way means that the volume set is only partially being replicated.


">
Command
Action
Result

vradmin -tovset vset addvol rvg vol 

Adding a volume to a volume set that is associated to an RVG. 

Adds the volume to the volume set and to the RVG.  

vradmin addvol rvg vset 

Associating a volume set to an RVG 

All the component volumes of the volume set are internally associated to the RVG. 

vradmin addvol rvg vol 

Adding a component volume of a volume set to an RDS. 

If the volume set is already associated to the RDS, but some component volumes are excluded, use this command to add the component volume to the RDS. 

This operation fails if the volume set is not associated to the RDS.  

vradmin delvol rvg vset 

Removing a volume set from an RVG 

All the component volumes of the volume set are removed from the RVG. The membership of component volumes in the volume set is not affected. 

vradmin -fromvset vset delvol rvg vol 

Deleting a volume from a volume set that is associated to an RVG. 

Deletes the volume from the volume set and from the RVG. 

vradmin delvol rvg vol  

Deleting a component volume of a volume set from the RDS 

Deletes the volume from the RDS but the volume will still remain associated with the volume set.  


  Caution   Deleting a volume this way means that the volume set is only partially being replicated.