Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Chapter 8, Administering Volumes
Performing Online Relayout
259
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 -g mydg -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.
The -o bg option restarts the relayout in the background. You can also specify the slow
and iosize option modifiers to control the speed of the relayout and the size of each
region that is copied. For example, the following command inserts a delay of 1000
milliseconds (1 second) between copying each 10-megabyte region:
# vxrelayout -g mydg -o bg,slow=1000,iosize=10m start vol04
The default delay and region size values are 250 milliseconds and 1 megabyte
respectively.
To reverse the direction of relayout operation that is currently stopped, specify the
reverse keyword to vxrelayout as shown in this example:
# vxrelayout -g mydg -o bg reverse vol04
This undoes changes made to the volume so far, and returns it to its original layout.
If you cancel a relayout using vxtask abort, the direction of the conversion is also
reversed, and the volume is returned to its original configuration.
See the vxrelayout(1M) and vxtask(1M) manual pages for more information about
these commands. See “Managing Tasks with vxtask” on page 228 for more information
about controlling tasks in VxVM.