VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Chapter 8, Administering Volumes
Performing Online Relayout
223
Viewing the Status of a Relayout
Online relayout operations take some time to perform. You can use the vxrelayout
command to obtain information aboutthe status ofa relayout operation. For example, the
command:
# vxrelayout status vol04
might display output similar to this:
STRIPED, columns=5, stwidth=128--> STRIPED, columns=6, stwidth=128
Relayout running, 68.58% completed.
In this example, the reconfiguration of a striped volume from 5 to 6 columns is in
progress, and is just over two-thirds complete.
See the vxrelayout(1M) manual page for more information about this command.
If you specified a task tag to vxassist when you started the relayout, you can use this
tag with the vxtask command to monitor the progress of the relayout. For example, to
monitor the task tagged as myconv, enter:
# 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 altogether (abort). If you specified a task tag to vxassist when you started the
relayout, you can use this tag to specify the task to vxtask. For example, to pause the
relayout operation tagged as myconv, enter:
# vxtask pause myconv
To resume the operation, use the vxtask command:
# 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 shown here:
# vxrelayout -o bg start vol04
Note 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 complete the operation. You cannot then use the original task tag to
control the relayout.