Forum Discussion

IdaWong's avatar
IdaWong
Level 4
11 years ago

how to delsec rvg when the primary is unknown?

i am on the secondary of a rvg. but the primary is not connected.  how can i remove the rvg stuff? i tried  vradmin -g $dg -f delsec $rvg but it gave me this error: VxVM VVR vradmin ERROR V...
  • Gaurav_S's avatar
    11 years ago

    Hi,

    what is the error you are getting while runing vxvol dis ?  did you stop rvg first using vxrvg stop OR vxrvg -f stop ?

    disassociating volume from rvg means you are taking out volume out of RVG. You need to disassociate all the volumes before you can delete the rvg using vxedit command.

    You can also try giving a "-f" with vxvol command to force disassociate

    vxvol -f -g <diskgroup> dis <volume> <rvg>

     

    G