Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

For more information about the utilities that support task tagging, see their
respective manual pages.
Managing tasks with vxtask
You can use the vxtask command to administer operations on VxVM tasks.
Operations include listing tasks, modifying the task state (pausing, resuming,
aborting) and modifying the task's progress rate.
VxVM tasks represent long-term operations in progress on the system. Every task
gives information on the time the operation started, the size and progress of the
operation, and the state and rate of progress of the operation. You can change the
state of a task, giving coarse-grained control over the progress of the operation.
For those operations that support it, you can change the rate of progress of the
task, giving more fine-grained control over the task.
New tasks take time to be set up, and so may not be immediately available for use
after a command is invoked. Any script that operates on tasks may need to poll
for the existence of a new task.
See the vxtask(1M) manual page.
vxtask operations
The vxtask command supports the following operations:
Stops the specified task. In most cases, the operations back out as
if an I/O error occurred, reversing what has been done so far to the
largest extent possible.
abort
Displays a one-line summary for each task running on the system.
The -l option prints tasks in long format. The -h option prints tasks
hierarchically, with child tasks following the parent tasks. By default,
all tasks running on the system are printed. If you include a taskid
argument, the output is limited to those tasks whose taskid or task
tag match taskid. The remaining arguments filter tasks and limit
which ones are listed.
If you use SmartMove to resync or sync the volume, plex, or
subdisk, the vxtask list displays whether the operations is
using SmartMove or not.
In a LUN level reclamation, the vxtask list command provides
information on the amount of the reclaim performed on each LUN.
The init=zero on the thin volume may trigger the reclaim on
the thin volume and the progress is seen in the vxtask list
command.
list
341Administering volumes
Monitoring and controlling tasks