VERITAS Volume Manager 4.1 Administrator's Guide
Administering Volumes
Removing a Mirror
Chapter 8276
Removing a Mirror
When a mirror is no longer needed, you can remove it to free up disk
space.
NOTE The last valid plex associated with a volume cannot be removed.
To remove a mirror from a volume, use the following command:
# vxassist remove mirror volume
Additionally, you can use storage attributes to specify the storage to be
removed. For example, to remove a mirror on disk disk01, from volume
vol01, enter:
# vxassist remove mirror vol01 !disk01
For more information about storage attributes, see “Creating a Volume
on Specific Disks” on page 236.
Alternatively, use the following command to dissociate and remove a
mirror from a volume:
# vxplex -o rm dis plex
For example, to dissociate and remove a mirror named vol01-02, use the
following command:
# vxplex -o rm dis vol01-02
This command removes the mirror vol01-02 and all associated subdisks.
This is equivalent to entering the following separate commands:
# vxplex dis vol01-02
# vxedit -r rm vol01-02