VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)

Starting a Volume
190 VERITAS Volume Manager Administrator’s Guide
Putting a Volume in Maintenance Mode
If all mirrorsof avolume becomeSTALE, youcan placethe volumein maintenancemode.
Then you can 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
To assist in choosing the revival source plex, use vxprint to list the stopped volume and
its plexes.
To take a plex (in this example, vol01-02) offline, use the following command:
# vxmend off vol01-02
The vxmend on command can change the state of an OFFLINE plex of a DISABLED
volume to STALE. For example, to put a plex named vol01-02 in the STALE state, use
the following command:
# vxmend on vol01-02
Running the vxvol start command on the volume then revives the plex as described in
the next section.
Starting a Volume
Starting a volume makes it available for use, and changes the volume state from
DISABLED or DETACHED to ENABLED. To start a DISABLED or DETACHED volume,
use the following command:
# vxvol -g diskgroup start volume ...
If a volume cannot be enabled, it remains in its current state.
To start all DISABLED or DETACHED volumes in a disk group, enter:
# vxvol -g diskgroup startall
Alternatively, to start a DISABLED volume, use the following command:
# vxrecover -g diskgroup -s volume ...
To start all DISABLED volumes, enter:
# vxrecover -s
To prevent any recovery operations from being performed on the volumes, additionally
specify the -n option to vxrecover.