VERITAS Volume Manager 3.1 Administrator's Guide
Volume Tasks
Stopping a Volume
Chapter 6242
Stopping a Volume
Stopping a volume renders it unavailable to the user. In a stopped
volume, the volume state is changed from ENABLED or DETACHED to
DISABLED. If the command cannot stop it, the volume remains in its
current state. To stop a volume, use the following command:
# vxvol stop
volume_name
...
For example, to stop a volume named vol01, use the following command:
# vxvol stop vol01
To stop all ENABLED volumes, use the following command:
# vxvol stopall
If all mirrors of the volume become STALE, place the volume in
maintenance mode. You can then view the plexes while the volume is
DETACHED and determine which plex to use for reviving the others. To
place a volume in maintenance mode, use the following command:
# vxvol maint
volume_name
To assist in choosing the revival source plex, list the unstarted volume
and display its plexes. For example, to take plex vol01-02 offline, use
the following command:
# vxmend off vol01-02
The vxmend command can change the state of an OFFLINE plex of a
DISABLED volume to STALE. A vxvol start command on the volume
then revives the plex. For example, to put a plex named vol01-02 in the
STALE state, use the following command:
# vxmend on vol01-02