VERITAS Volume Manager 3.5 Administrator's Guide (September 2004)
Administering Volumes
Performing Online Relayout
Chapter 8 307
# 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.
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 64-kilobyte region:
# vxrelayout -o bg,slow=1000,iosize=64 start vol04
The default delay and region size values are 250 milliseconds and 32
kilobytes respectively.
To reverse the direction of relayout operation that is currently stopped,
specify the reverse keyword to vxrelayout as shown in this example:
# vxrelayout -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 254 for more information about controlling tasks in VxVM.