Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Chapter 8, Administering Volumes
Starting a Volume
231
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.
Adding a Mirror to a Volume
A mirror can be added to an existing volume with the vxassist command, as follows:
# vxassist [-b] [-g diskgroup] mirror volume
Note If specified, the -b option makes synchronizing the new mirror a background task.
For example, to create a mirror of the volume voltest in the disk group, mydg, use the
following command:
# vxassist -b -g mydg mirror voltest
Another way to mirror an existing volume is by first creating a plex, and then attaching it
to a volume, using the following commands:
# vxmake [-g diskgroup] plex plex sd=subdisk ...
# vxplex [-g diskgroup] att volume plex