VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Chapter 6, Creating and Administering Plexes
Reattaching Plexes
155
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
precedingcommand is recoveredat system reboot.The plexstate is setto STALE, sothat 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 the procedures in
the following section, “Reattaching Plexes.”
Reattaching Plexes
When a 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 procedures depending on the state of the volume.
◆ If the volume is currently ENABLED, use the following command to reattach the plex:
# vxplex att volume plex ...
For example, for a plex named vol01-02 on a volume named vol01, use the
following command:
# vxplex att vol01 vol01-02
As when returning an OFFLINE plex to ACTIVE, 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 to re-enable
the plex for use:
# vxmend on plex
For example, to re-enable a plex named vol01-02, enter:
# vxmend on vol01-02
In this case, the state of vol01-02 is set to STALE. When the volume is next started,
the data on the plex is revived from another plex, and incorporated into the volume
with its state set to ACTIVE.
If the vxinfo command shows that the volume is unstartable (see “Listing
Unstartable Volumes” in the section “Recovery from Hardware Failure” in the
VERITAS Volume Manager Troubleshooting Guide), set one of the plexes to CLEAN using
the following command:
# vxmend fix clean plex
Start the volume using the following command:
# vxvol start volume