VERITAS Volume Manager 3.1 Administrator's Guide
Volume Tasks
Changing Plex Status: Detaching and Attaching Plexes
Chapter 6270
Changing Plex Status: Detaching and
Attaching Plexes
Once a volume has been created and placed online (ENABLED), Volume
Manager can temporarily disconnect plexes from the volume. This is
useful, for example, when the hardware on which the plex resides needs
repair or when a volume has been left unstartable and a source plex for
the volume revive must be chosen manually.
Resolving a disk or system failure includes taking a volume offline and
attaching and detaching its plexes. The two commands used to
accomplish disk failure resolution are the vxmend command and the
vxplex command.
To take a plex OFFLINE so that repair or maintenance can be performed
on the physical disk containing subdisks of that plex, use the following
command:
# vxmend off
plex_name
..
If a disk has a head crash, put all plexes that have associated subdisks
on the affected disk OFFLINE. For example, if plexes vol01-02 and
vol02-02 had subdisks on a drive to be repaired, use the following
command:
# vxmend off vol01-02 vol02-02
This command places vol01-02 and vol02-02 in the OFFLINE state, and
they remain in that state until changed.
Detaching Plexes
To temporarily detach one plex in a mirrored volume, use the following
command:
# vxplex det
plex_name
For example, to temporarily detach a plex named vol01-02 and place it
in maintenance mode, use the following command:
# vxplex det vol01-02
This command temporarily detaches the plex, but maintains the
association between the plex and its volume. However, the plex is not
used for I/O. A plex detached with the preceding command is recovered