Go to main content
Oracle® Server CLI Tools User's Guide

Exit Print View

Updated: August 2016
 
 

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
verify
Checks the validity of the RAID volume redundant data.
init
Initializes the RAID volume to write out the initial parity values. The initialization goes over the entire volume and initializes the parity data.
copy
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.
rebuild
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.
clear
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
–t
–-task
Specifies the type of task to execute. Possible options are verify, init, rebuild, clear, or copy.
–d
–-disk
Specifies the disk to execute the task on. Required by the rebuild and clear tasks.
–r
–-raid
Specifies the RAID volume to execute the task on. Required by the verify and init tasks.
n/a
--src-disk
Specifies the source disk to use in a copy task.
n/a
--dst-disk
Specifies the destination disk to use in copy task.