AMCC 9590SE-4ME manual Cx show autorebuild, Cx show unitstatus

Page 39

Controller Object Commands

/cx show autorebuild

This feature only applies to 9550SX and 9590SE model controllers.

This command shows the Auto-Rebuild policy. If the policy is enabled, the firmware will select drives to use for rebuilding a degraded unit using the following priority order. For more information, see “/cx set autorebuild=onoff” on page 51.

1.Smallest usable spare.

2.Smallest usable unconfigured (available) drive.

3.Smallest usable failed drive.

If the policy is disabled, only spare drives will be used for an automatic rebuild operation.

Example:

//localhost> /c0 show autorebuild /c0 Auto-Rebuild Policy = on

/cx show unitstatus

This command presents a list of units currently managed by the specified controller /cx, and shows their types, capacity, status, and unit policies.

Possible statuses include: OK, VERIFYING, VERIFY-PAUSED, INITIALIZING, INIT-PAUSED, REBUILDING, REBUILD-PAUSED, DEGRADED, MIGRATING, MIGRATE-PAUSED, RECOVERY, INOPERABLE, and UNKNOWN. (Definitions of the unit statuses are available in the 3ware Serial ATA RAID Controller User Guide.)

Note: If an asterisk (*) appears next to the status of a unit, there is an error on one of the drives in the unit. This feature provides a diagnostic capability for potential problem drives. The error may not be a repeated error, and may be caused by an ECC error, SMART failure, or a device error. Rescanning the controller will clear the drive error status if the condition no longer exists.

Example:

//localhost> /c0 show unitstatus

Unit UnitType Status %Cmpl Stripe Size(GB) Cache AVerify IgnECC

-------------------------------------------------------------------------

u0

RAID-5

OK

-

64K

223.485

OFF

OFF

ON

u1

JBOD

OK

-

-

76.3352

OFF

OFF

-

u2

RAID-0

OK

-

64K

148.99

ON

ON

-

www.3ware.com

33

Image 39
Contents 3ware Command Line InterfaceCopyright Table of Contents Page Cx/ux set autoverify=onoff Return Code About this CLI Guide Page Features of the CLI Introduction to the 3ware Command Line InterfaceTerminology Supported Operating SystemsWorking with 3ware CLI Installing the 3ware CLI on Mac OSUsing a single command with output Using the command interface interactivelyOutputting the CLI to a Text File Using an input file to execute a scriptConventions Understanding RAID Levels and ConceptsRAID Concepts RAID Available RAID ConfigurationsRAID 0 Configuration Example RAID 5 Configuration Example Single Disk Determining What RAID Level to UseUsing Drive Capacity Efficiently CLI Syntax Reference Common Tasks Mapped to CLI CommandsCommon Tasks Mapped to CLI Commands Common Tasks Mapped to CLI Commands Syntax Overview Focus Object Shell Object CommandsShow Show ver Show alarms reverse Show diagShow rebuild Show selftest Show verifyCommit Update fw=filenamewithpath forceFlush RescanCx show Controller Object CommandsCx show Typical output looks like Cx show attribute attributeCx 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 Stripe Sizes Controller Object Commands Supported Model-Unit Types for ignoreECC Cx rescan noscanCx update fw=filenamewithpath force Cx commitCx flush Cx show diag Cx show alarms reverseCx show rebuild RAID-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 del rebuild=slotid Cx add selftest=dddhhCx set rebuild=enabledisable1..5 Cx del verify=slotidCx del selftest=slotid Cx set verify=enabledisable1..5 Cx set selftest=enabledisable task=UDMASMARTCx set exportjbod=onoff Cx set autocarve=onoff Cx set ondegrade=cacheofffollowCx set spinup=nn Cx set stagger=nnCx set autorebuild=onoff Cx set carvesize=1024..2048Cx stop mediascan Cx start mediascanCx/ux show Unit Object CommandsCx/ux show status Cx/ux show attribute attributeCx/ux show name Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show initializestatusCx/ux show autoverify Cx/ux show qpolicyCx/ux show storsave Cx/ux show identifyCx/ux show all Cx/ux show volumesCx/ux show cache Cx/ux show ignoreECCCx/ux del noscan quiet Cx/ux remove noscan quietCx/ux start verify Cx/ux start rebuild disk=pp-p...ignoreECCCx/ux pause rebuild Cx/ux resume rebuildCx/ux stop verify Cx/ux flush Cx/ux set autoverify=onoffCx/ux set cache=onoff quiet Cx/ux set qpolicy=onoff Cx/ux set identify=onoffCx/ux set ignoreECC=onoff Cx/ux set name=stringCx/ux set storsave=protectbalanceperform quiet By default, qpolicy is offExample Valid Migration Paths Supported Stripe Sizes Migration Process 3JV2Q1VA Port Object Commands Cx/px showCx/px show attribute attribute Cx/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 disable quiet Cx/bbu enableEx show Enclosure Object CommandsEx show attribute attribute Ex show controllersEx show slots Ex/slotx show Ex show fansEx show temp Ex show allEx/tempx show Ex/slotx show identifyEx/slotx set identify=onoff Ex/fanx showHelp with specific commands Help CommandsHelp with attributes Help Help showHelp flush Help focus Help updateHelp rescan Help commitReturn Code