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

# vxtask abort recovall
This command causes VxVM to try to reverse the progress of the operation so far.
For example, aborting an Online Relayout results in VxVM returning the volume
to its original layout.
See Controlling the progress of a relayout on page 346.
Stopping a volume
Stopping a volume renders it unavailable to the user, and changes the volume
kernel state from ENABLED or DETACHED to DISABLED. If the volume cannot
be disabled, it remains in its current state. To stop a volume, use the following
command:
# vxvol [-g diskgroup] [-f] stop volume ...
To stop all volumes in a specified disk group, use the following command:
# vxvol [-g diskgroup] [-f] stopall
Warning: If you use the -f option to forcibly disable a volume that is currently
open to an application, the volume remains open, but its contents are inaccessible.
I/O operations on the volume fail, and this may cause data loss. You cannot deport
a disk group until all its volumes are closed.
If you need to prevent a closed volume from being opened, use the vxvol maint
command, as described in the following section.
Putting a volume in maintenance mode
If all mirrors of a volume become STALE, you can place the volume in maintenance
mode. Before you put the volume in maintenance mode, make sure the volume is
stopped or it is in the DISABLED state. 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 [-g diskgroup] maint volume
To assist in choosing the revival source plex, use vxprint to list the stopped
volume and its plexes.
To take a plex offline, (in this example, vol01-02 in the disk group, mydg), use the
following command:
313Administering volumes
Stopping a volume