Chapter 2. CLI Syntax Reference
58
3ware Serial ATA RAID Controller CLI Guide
autodetect=on|off
enables or disables automatic detection of drives on the
controller’s ports for staggered spin-up.
disk=<p:-p>|all
specifies one or many disks (that is, drives or ports). If a port
is empty (no drive is inserted), the echo message of the command refers to a
port. If there is already a drive inserted, the message refers to a disk. The
example below shows that autodetect has been set to
off
to initiate staggered
spin-up during hot-swapping, where port 3 was empty and ports 5 and 6 had
drives inserted.
Example:
//localhost>> /c0 set autodetect=off disk=3:5-6
Setting Auto-Detect on /c0 to [off] for port [3] and for disk
[5,6]... Done
If “disk=all,” then all of the drives or ports for that controller are specified.
For example:
//localhost>> /c0 set autodetect=off disk=all
Setting Auto-Detect on /c2 to [off] for all disks/ports... Done.
Usage Scenario:
If you are hot-plugging a large number of drives at the same time and are
concerned that you might overload the power supply, you might use this
command as follows:
1
Issue the command (set autodetect=off) to disable automatic detection of
the ports for staggered spin-up.
2
If the ports are not empty, pull the drives out of the specified ports.
3
Insert (or replace) the drives at the ports specified.
4
Issue the command (set autodetect=on) to enable auto detect of the ports
with the newly inserted drives.
The preceding steps would spin up the newly inserted drives in a staggered
manner. Please note that the command takes longer for ports that do not have
drives inserted, since the controller allows time for the empty ports to
respond.
/c
x
start mediascan
This command applies only to 7000/8000 controllers. For 9000 series
controllers, use the verify command.
This command provides media scrubbing for validating the functionality of a
disk, including bad block detection, remapping, and so forth. The command
starts a media scan operation on the specified controller
/cx
.