VERITAS Volume Manager 4.1 Administrator's Guide
Administering Volumes
Performing Online Relayout
Chapter 8320
Tagging a Relayout Operation
If you want to control the progress of a relayout operation, for example to
pause or reverse it, use the -t option to vxassist to specify a task tag for
the operation. For example, this relayout is performed as a background
task and has the tag myconv:
# vxassist -b -g fsgrp -t myconv relayout vol04 layout=raid5
ncol=4
See the following sections, “Viewing the Status of a Relayout” on
page 320 and “Controlling the Progress of a Relayout” on page 320 for
more information about tracking and controlling the progress of
relayout.
Viewing the Status of a Relayout
Online relayout operations take some time to perform. You can use the
vxrelayout command to obtain information about the status of a 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: