AMCC 9650SE, 9550SX, 9500S, 9590SE Cx set autorebuild=onoff, Cx set autodetect=onoff disk=p-pall

Page 63

Controller Object Commands

/cx set autorebuild=onoff

This command is only for 9550SX , 9590SE, and 9650SE controllers.

This command turns the Auto-Rebuild policy on or off. By default, autorebuild is on.

If the policy is on the firmware will select drives to use for rebuilding a degraded unit using the following priority order.

1.Smallest usable spare.

2.Smallest usable unconfigured (available) drive.

3.Smallest usable failed drive.

Note: Failed drives can be drives that have mechanically failed, or they can be drives that have been disconnected from the controller long enough for the controller to classify them as failed.

Enabling Auto-Rebuild allows you to add a drive to the controller and have it be available for a rebuild as soon as you tell the controller to rescan, without having to specify it as a spare. It also means that if you accidentally disconnect a drive (causing the controller to see it as a failed drive) and then reconnect it, the controller will automatically try 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=onoff disk=<p:-p>all

This command is only for 9000 series controllers.

This command is associated with the staggered spin-up feature when hot- swapping drives. When staggered spin-up is enabled (see command /cx set spinup and /cx set stagger), during a reset or power on, the controller will spin 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 immediate spin-up. This command can change the default behavior and set the controller to do a staggered spinup for hot-swapped drives.

Note: The autodetect setting cannot be shown in CLI or displayed in 3DM or 3BM.

This feature may be added in a future release.

www.3ware.com

57

Image 63
Contents 3ware Serial ATA RAID Controller Command Line InterfaceCopyright Table of Contents 3ware Serial ATA RAID Controller CLI Guide Cx/ux set autoverify=onoff 3ware Serial ATA RAID Controller CLI Guide About this CLI Guide Features of the CLI Introduction to the 3ware Command Line InterfaceTerminology Supported Operating SystemsPermissions Required to Run CLI Installing the 3ware CLIInstalling the 3ware CLI on Windows To install 3ware CLI on WindowsTo start CLI, do one of the following Installing the 3ware CLI on Linux and FreeBSDUsing the command interface interactively Working with 3ware CLITo use the CLI interactively Using a single command with output Using an input file to execute a scriptScripting example Conventions Outputting the CLI to a Text FileRAID Concepts Understanding RAID Levels and ConceptsRAID Available RAID ConfigurationsRAID 1 Configuration Example RAID 5 Configuration Example RAID 6 Configuration Example RAID 10 Configuration Example Jbod Single DiskHot Spare RAID Configuration TypesPossible Configurations Based on Number of Drives Determining What RAID Level to UseDrive Capacity Using Drive Capacity EfficientlySupport for Over 2 Terabytes CLI Syntax Reference Common Tasks Mapped to CLI CommandsCLI Syntax Reference Port Tasks Syntax OverviewC1 add type=raid1 disk=0-1 Focus Object Shell Object CommandsExample ShowShow ver Show alarms reverse Show diagShow rebuild Show selftest Show verifyFlush RescanCommit Cx show Controller Object CommandsCx show Cx show attribute attribute Cx show firmware Cx show biosCx show driver Cx show modelCx show achip Cx show serialCx show pcb Cx show pchipCx show exportjbod Cx show numportsCx show numunits Cx show ctlbusCx show autocarve Cx show spinupCx show stagger Cx show ondegradeCx show memory Cx show carvesizeCx show unitstatus Cx show autorebuildCx show drivestatus Cx show allunitstatus3JV3MVTA Cx show allSupported RAID Types Supported Stripe Sizes KB Supported Model-Unit Types for ignoreECC Cx rescan noscan Cx flush Cx commitCx show alarms reverse Cx show rebuild Cx show diagRAID-5 Initializing Cx show verify Cx show selftest Cx add rebuild=dddhhduration Setting Up a Rebuild ScheduleCx add verify=dddhhduration Setting Up a Verify ScheduleCx add selftest=dddhh Setting Up a Selftest ScheduleCx del selftest=slotid Cx set rebuild=enabledisable1..5Cx del rebuild=slotid Cx del verify=slotid Cx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx set exportjbod=onoff Cx set ondegrade=cacheofffollowCx set spinup=nn Cx set stagger=nn Cx set autocarve=onoffCx set carvesize=1024..2048 Cx set autodetect=onoff disk=p-pall Cx set autorebuild=onoffCx start mediascan Cx stop mediascan Unit Object CommandsCx/ux show Cx/ux show status Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show qpolicy Cx/ux show initializestatusCx/ux show name Cx/ux show serialCx/ux show cache Cx/ux show storsaveCx/ux show identify Cx/ux show autoverifyCx/ux show volumes Cx/ux show ignoreECCCx/ux show all Cx/ux remove noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECC Cx/ux del noscan quietSupported RAID Logical Unit Types for Verification Cx/ux start verifyCx/ux pause rebuild Cx/ux resume rebuildCx/ux set cache=onoff quiet Cx/ux stop verifyCx/ux flush Cx/ux set autoverify=onoffCx/ux set identify=onoff Cx/ux set ignoreECC=onoffSupported RAID Types for Caching Cx/ux set name=string Cx/ux set qpolicy=onoffCx/ux set storsave=protectbalanceperform quiet Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Migration Process Example of splitting a mirrorExample of capacity expansion Example of migrate output Cx/px show Port Object CommandsCx/px show firmware Cx/px show statusCx/px show model Cx/px show serialCx/px show smart Cx/px show ncqCx/px show lspeed Cx/px show capacityCx/px show all Cx/px set identify=onoff Cx/px remove noscan quietCx/bbu show BBU Object CommandsCx/bbu show status Cx/bbu show attribute attributeCx/bbu show temp Cx/bbu show batinstCx/bbu show lasttest Cx/bbu show voltCx/bbu show pcb Cx/bbu show bootloaderCx/bbu show serial Cx/bbu show fwCx/bbu enable Cx/bbu disable quietCx/bbu test quiet Ex show Enclosure Object CommandsEx show controllers Ex show attribute attributeEx show all Ex show slotsEx show fans Ex show tempEx/slotx show Ex/slotx show identifyEx/slotx set identify=onoff Ex/tempx show Help CommandsHelp with specific commands Ex/fanx showAttribute attribute Help Help with attributesHelp rescan Help updateHelp show Help flushHelp /cx/px Help focusHelp /cx Help /cx/uxHelp /ex/tempx Command LoggingReturn Code Help /ex/fanxIf you type