VERITAS Volume Manager 3.1 Administrator's Guide
Volume Tasks
Dissociating and Removing Plexes
Chapter 6266
Dissociating and Removing Plexes
When a plex is no longer needed, you can remove it. Remove a plex for
the following reasons:
• to provide free disk space
• to reduce the number of mirrors in a volume so you can increase the
length of another mirror and its associated volume. When the plexes
and subdisks are removed, the resulting space can be added to other
volumes
• to remove a temporary mirror that was created to back up a volume
and is no longer needed
to change the layout of a plex
CAUTION To save the data on a plex to be removed, the configuration of that plex
must be known. Parameters from that configuration (stripe unit size and
subdisk ordering) are critical to the creation of a new plex to contain the
same data. Before a plex is removed, you must record its configuration.
See “Displaying Plex Information” for more information.
To dissociate and remove a plex from the associated volume, use the
following command:
# vxplex -o rm dis
plex_name
For example, to dissociate and remove a plex named vol01-02, use the
following command:
# vxplex -o rm dis
vol01-02
This command removes the plex vol01-02 and all associated subdisks.
You can first dissociate the plex and subdisks, and then remove them
with the following commands: # vxplex dis plex_name# vxedit
-r rm plex_name
When used together, these commands produce the same result as the
vxplex -o rm dis command.