VERITAS Volume Manager 3.1 Administrator's Guide

Volume Tasks
Changing Plex Status: Detaching and Attaching Plexes
Chapter 6 271
at system reboot. The plex state is set to STALE, so that if a vxvol start
command is run on the appropriate volume (for example, on system
reboot), the contents of the plex is recovered and made ACTIVE.
When the plex is ready to return as an active part of its volume, follow
this procedure:
If the volume is not ENABLED, start it with the following command:
# vxvol start
volume_name
If it is unstartable, set one of the plexes to CLEAN using the following
command:
# vxmend fix clean
plex_name
and then start the volume.
If the plex does not yet have a
kernel state
of ENABLED, use the
following command:
# vxplex att
volume_name plex_name
...
As with returning an OFFLINE plex to ACTIVE, this command recovers
the contents of the plex(es), then sets the plex state to ACTIVE.
Attaching Plexes
When the disk has been repaired or replaced and is again ready for use,
the plexes must be put back online (plex state set to ACTIVE). To set the
plexes to ACTIVE, use one of the following commands.
If the volume is currently ENABLED, use the following command:
# vxplex att
volume_name plex_name
...
For example, for a plex named vol01-02 on a volume named vol01,
use the following command:
# vxplex att vol01 vol01-02
This command starts to recover the contents of the plex and, after the
revive is complete, sets the plex utility state to ACTIVE.
If the volume is not in use (not ENABLED), use the following command:
# vxmend on
plex_name
For example, for a plex named vol01-02, use the following command:
# vxmend on vol01-02