VERITAS Volume Manager 3.1 Administrator's Guide
Volume Manager Operations
Common Volume Manager Commands
Chapter 3 131
To list all tasks on the system that are currently paused, use the
following command:
# vxtask -p list
The vxtask -p list command is used as follows:
# vxtask pause 167
# vxtask -p list
TASKID PTID TYPE/STATE PCT PROGRESS
167 ATCOPY/P 27.82% 0/1048576/291712 PLXATT
mirrvol(mirrvol-02)
# vxtask resume 167
# vxtask -p list
TASKID PTID TYPE/STATE PCT PROGRESS
To monitor all tasks with the tag myoperation, use the following
command:
# vxtask monitor myoperation
To cause all tasks tagged with recovall to exit, use the following
command:
# vxtask abort recovall
vxassist Command
You can use the vxassist command to create and manage volumes from
the command line. The vxassist command requires minimal input from
you and performs many underlying tasks for you. You can use the
vxassist command to easily create, mirror, grow, shrink, remove, and
back up volumes. The vxassist command is capable of performing many
operations that would otherwise require the use of a series of more
complicated Volume Manager commands. The vxassist command
creates and manipulates volumes based on a set of established defaults,
but also allows you to supply preferences for each task.
The vxassist command can perform tasks that would otherwise require
the use of several other Volume Manager commands. The vxassist
command automatically performs all underlying and related tasks that
would otherwise be done by the user (in the form of other commands).
The vxassist command does not conflict with existing Volume Manager
commands or preclude their use. Objects created by the vxassist
command are compatible and inter-operable with objects created by
other VM commands and interfaces.