Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

# vxmend -g mydg off vol01-02
Make sure that all the plexes are offline except for the one that you will use for
revival. The plex from which you will revive the volume should be placed in the
STALE state. The vxmend on command can change the state of an OFFLINE plex of
a DISABLED volume to STALE. For example, to put the plex vol101-02 in the STALE
state, use the following command:
# vxmend -g mydg on vol101-02
Running the vxvol start command on the volume then revives the volume with
the specified plex. Because you are starting the volume from a stale plex, you must
specify the force option ( -f).
By using the procedure above, you can enable the volume with each plex, and you
can decide which plex to use to revive the volume.
After you specify a plex for revival, and you use the procedure above to enable
the volume with the specified plex, put the volume back into the DISABLED state
and put all the other plexes into the STALE state using the vxmend on command.
Now, you can recover the volume.
See Starting a volume on page 314.
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 you cannot enable a volume, it remains in its current state.
To start all DISABLED or DETACHED volumes in a disk group, enter the following:
# vxvol -g diskgroup startall
To start a DISABLED volume, enter the following:
# vxrecover -g diskgroup -s volume ...
To start all DISABLED volumes, enter the following:
# vxrecover -s
To prevent any recovery operations from being performed on the volumes,
additionally specify the -n option to vxrecover.
Administering volumes
Starting a volume
314