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

Viewing the status of a relayout
Online relayout operations take time to perform. You can use the vxrelayout
command to obtain information about the status of a relayout operation. For
example, the following command:
# vxrelayout -g mydg status vol04
might display output similar to the following:
STRIPED, columns=5, stwidth=128--> STRIPED, columns=6,
stwidth=128
Relayout running, 68.58% completed.
In this example, the reconfiguration is in progress for a striped volume from 5 to
6 columns, and is over two-thirds complete.
See the vxrelayout(1M) manual page.
If you specify a task tag to vxassist when you start the relayout, you can use this
tag with the vxtask command to monitor the progress of the relayout. For example,
to monitor the task that is tagged as myconv, enter the following:
# vxtask monitor myconv
Controlling the progress of a relayout
You can use the vxtask command to stop (pause) the relayout temporarily, or to
cancel it (abort). If you specify a task tag to vxassist when you start the relayout,
you can use this tag to specify the task to vxtask. For example, to pause the
relayout operation that is tagged as myconv, enter:
# vxtask pause myconv
To resume the operation, use the vxtask command as follows:
# vxtask resume myconv
For relayout operations that have not been stopped using the vxtask pause
command (for example, the vxtask abort command was used to stop the task,
the transformation process died, or there was an I/O failure), resume the relayout
by specifying the start keyword to vxrelayout, as follows:
# vxrelayout -g mydg -o bg start vol04
If you use the vxrelayout start command to restart a relayout that you previously
suspended using the vxtask pause command, a new untagged task is created to
Administering volumes
Performing online relayout
380