How to remove a replicated volume group (RVG) and keep the existing data volumes using the command line.
| Article:TECH6437 | | | Created: 2000-01-11 | | | Updated: 2002-01-04 | | | Article URL http://www.symantec.com/docs/TECH6437 |
Problem
How to remove a replicated volume group (RVG) and keep the existing data volumes using the command line.
Solution
In order to remove an RVG, it must have no associated rlinks or volumes. Below is the procedure to remove an RVG:
- # vxrvg -g <diskgroup> stop <rvg>
The next three steps need to be done for all the rlinks in the rvg:
# vxrlink -g <diskgroup> status <rlink> --> Verify the rlink is up-to-date
# vxrlink -g <diskgroup> det <rlink>
# vxrlink -g <diskgroup> -r <rvg> dis <rlink>
# vxvol -g <diskgroup> -r <rvg> dis <srlname>
# vxedit -g <diskgroup> rm <srlname>
# vxvol -g <diskgroup> -r <rvg> dis <volume> --> This step is done for all the data volumes in the rvg.
# vxedit -g <diskgroup> rm <rlink> --> This step is done for all the rlinks in the rvg.
# vxedit -g <diskgroup> rm <rvg>
Once the above steps are completed, there is no longer an RVG with the data volumes associated. A 'vxprint -ht' should show the data volumes in an "ENABLED ACTIVE" state.
|
|
Legacy ID
204941
Article URL http://www.symantec.com/docs/TECH6437
Terms of use for this information are found in Legal Notices









Thank you.