Monday, December 20, 2010

Removing a Mirror

6. Removing a Mirror
Removing a mirror involves first dissociating the plex from its volume and then removing the plex and any associated subdisks completely.The last valid mirror plex associated with a volume cannot be removed.
Dissociate and remove the plex from its volume as follows:
· vxplex -o rm dis plex_name
vxprint -h shows the volume and associated plexes :
Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 v volm fsgen ENABLED 10240 – ACTIVE – - pl volm-01 volm ENABLED 10240 – ACTIVE – - sd disk01-02 volm-01 – 10240 0 – - – pl volm-02 volm ENABLED 10240 – ACTIVE – - sd disk02-03 volm-02 – 10240 0 – - -
To disassociate and remove volmir-02 from volmir, type:
· #vxplex -o rm dis volm-02
The output of vxprint -h for volm now shows volume volm with only one plex::
Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 v volm fsgen ENABLED 10240 – ACTIVE – - pl volm-01 volmir ENABLED 10240 – ACTIVE – - sd disk01-02 volmir-01 – 10240 0 – - -

No comments:

Post a Comment