AMCC 9650SE, 9550SX, 9500S, 9590SE manual Cx show autorebuild, Cx show unitstatus

Page 43

Controller Object Commands

/cx show autorebuild

This feature only applies to 9550SX, 9590SE, and 9650SE 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 57.

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> /c2

show unitstatus

Unit UnitType

Status

%RCmpl %V/I/M Stripe Size(GB) Cache AVrfy

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

u0

RAID-5

OK

-

-

64K

596.004

ON

OFF

u1

RAID-0

OK

-

-

64K

298.002

ON

OFF

u2

SPARE

OK

-

-

-

149.042

-

OFF

u3

RAID-1

OK

-

-

-

149.001

ON

OFF

www.3ware.com

37

Image 43
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 FreeBSDWorking with 3ware CLI Using the command interface interactivelyTo use the CLI interactively Using an input file to execute a script Using a single command with outputScripting 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 diag Show alarms reverseShow rebuild Show selftest Show verifyRescan FlushCommit 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=slotidCx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx set ondegrade=cacheofffollow Cx set exportjbod=onoffCx set spinup=nn Cx set autocarve=onoff Cx set stagger=nnCx 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 rebuildstatus Cx/ux show statusCx/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 ignoreECC Cx/ux show volumesCx/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 ignoreECC=onoff Cx/ux set identify=onoffSupported RAID Types for Caching Cx/ux set qpolicy=onoff Cx/ux set name=stringCx/ux set storsave=protectbalanceperform quiet Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Example of splitting a mirror Migration ProcessExample 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 disable quiet Cx/bbu enableCx/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 identify Ex/slotx showEx/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