Cx set autodetect=on|off disk=<p:-p>|all – Avago Technologies 3ware SAS 9750-16i4e User Manual

Page 78

Advertising
background image

Chapter 2. CLI Syntax Reference

70

3ware SATA+SAS RAID Controller Card CLI Guide, Version 10.2

disconnect a drive (causing the controller to respond to it as a failed drive) and
then reconnect it, the controller automatically tries to use it again.

If the policy is off, spares are the only candidates for rebuild operations.

Example:

//localhost> /c0 set autorebuild=enable

Setting Auto-Rebuild Policy on /c0 to enable ... Done.

/cx set autodetect=on|off disk=<p:-p>|all

The /cx set autodetect command is associated with the staggered spinup
feature when hot-swapping drives. When staggered spinup is enabled (see
command /cx set spinup and /cx set stagger), during a reset or power on, the
controller spins up all detected drives with a delay between each spinup,
allowing the spread of power consumption on the power supply. When a drive
is hot-swapped, (as opposed to when it has just been powered on or reset), the
default behavior of the system is to automatically detect and immediately spin
up the drives. This command can change the default behavior and set the
controller to do a staggered spinup for hot-swapped drives.

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, ports, or vports).
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 following example shows that autodetect has been set to off to
initiate staggered spin-up during hot-swapping, where port 3 is empty and
ports 5 and 6 contain newly-inserted drives.

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. This
setting is only for direct attached drives and has no effect on drives behind an
expander.

Example:

//localhost>> /c0 set autodetect=off disk=all

Setting Auto-Detect on /c2 to [off] for all disks/ports... Done.

Note:

The autodetect setting cannot be shown in CLI, 3DM2, or 3BM.

Advertising