Symantec logo

Removing a Primary RVG

The vradmin delpri command removes a Primary RVG from an RDS and thus deletes the corresponding RDS.


Prerequisite for deleting a Primary RVG:

  All Secondaries in the RDS must be removed. For more information on how to remove a Secondary from an RDS, see Removing a Secondary from a Replicated Data Set.

The vradmin delpri command performs the following by default:

The vradmin delpri command does not delete data volumes or the SRL from the Veritas Volume Manager configuration.


  Note   This command can only be issued from the Primary host.


 To remove a Primary RVG

# vradmin -g diskgroup delpri rvg_name

The argument rvg_name is the name of the Primary RVG to be removed.

When used with the -f option, the vradmin delpri command removes the Primary RVG even when the application is running on the Primary.


Example 1:

To remove the Primary RVG hr_rvg when the application using the Primary data volumes is inactive, issue the following command on the Primary host:

# vradmin -g hrdg delpri hr_rvg


Example 2:

To remove the Primary RVG hr_rvg when the application using the Primary data volumes is active, issue the following command on the Primary host:

# vradmin -g hrdg -f delpri hr_rvg