Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

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 on page 281.
To dissociate a plex from the associated volume and remove it as an object from
VxVM, use the following command:
# vxplex [-g diskgroup] -o rm dis plex
For example, to dissociate and remove a plex named vol01-02 in the disk group,
mydg, use the following command:
# vxplex -g mydg -o rm dis vol01-02
This command removes the plex vol01-02 and all associated subdisks.
Alternatively, you can first dissociate the plex and subdisks, and then remove
them with the following commands:
# vxplex [-g diskgroup] dis plex
# vxedit [-g diskgroup] -r rm plex
When used together, these commands produce the same result as the vxplex -o
rm dis command. The -r option to vxedit rm recursively removes all objects
from the specified object downward. In this way, a plex and its associated subdisks
can be removed by a single vxedit command.
Changing plex attributes
Warning: To avoid possible data loss, change plex attributes with extreme care.
The vxedit command changes the attributes of plexes and other Volume Manager
objects. To change plex attributes, use the following command:
# vxedit [-g diskgroup] set attribute=value ... plex
Plex fields that can be changed using the vxedit command include:
name
putiln
tutiln
comment
Creating and administering subdisks and plexes
Changing plex attributes
292