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
vxtask pause myconv
To resume the operation, use the
vxtask resume myconv
For relayout operations that have not been stopped using the
pause command (for example, the
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
If you use the
start command to restart a relayout that you previously suspended using the
pause command, a new untagged task is created to complete the operation. You cannot then use the original task tag to control the relayout.
-o bg option restarts the relayout in the background. You can also specify the
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
abort, the direction of the conversion is also reversed, and the volume is returned to its original configuration.
See "Managing tasks with vxtask" on page 277.
vxrelayout(1M) manual page.
vxtask(1M) manual page.