Executing Tasks on a Disk or RAID Volume
There are a variety of tasks that can be run on a RAID volume and its disks using the start task
or stop task
subcommands.
The available background tasks are shown in the following table.
Task | Description |
---|---|
|
Checks the validity of the RAID volume redundant data. |
|
Initializes the RAID volume to write out the initial parity values. The initialization goes over the entire volume and initializes the parity data. |
|
Copies and moves an online physical disk onto a hotspare or unconfigured good drive. The copy is performed while the volume is online. Once completed, the destination disk is added to the logical volume configuration while the original source disk is removed from it. |
|
Regenerates the data of a single physical disk that is part of a logical volume with data redundancy. The physical disk is reconstructed from another physical disk and/or parity disks. A disk rebuild typically occurs after a disk replacement or repair. |
|
Clears a physical disk by writing zeroes over the entire disk. |
Note:
Not all devices support all tasks. To check the tasks a device supports, use the list subcommand and check the output under Startable tasks. If this field is blank, the device does not support any tasks.
The start task
and stop task
subcommands accept the options shown in the following table.
Short Option | Long Option | Description |
---|---|---|
|
|
Specifies the type of task to execute. Possible options are
|
|
|
Specifies the disk to execute the task on. Required by the
|
|
|
Specifies the RAID volume to execute the task on. Required by
the |
n/a |
|
Specifies the source disk to use in a |
n/a |
|
Specifies the destination disk to use in |
Parent topic: Starting or Stopping a Task on a Disk or RAID