AMCC 9590SE-4ME manual Cx show rebuild

Page 47

Controller Object Commands

In order to redirect the output you must run the following command from a command line, not from within the tw_cli shell.

tw_cli /c0 show diag > diag.txt

/cx show rebuild

9000 series controllers support background tasks and allow you to schedule a regular time when they occur.

Rebuild is one of the supported background tasks. Migrate and initialize are other background tasks that follow the same schedule as rebuild. Other background tasks for which there are separate schedules are verify and selftest. For each background task, up to 7 time periods can be registered, known as slots 1 through 7. Each task schedule can be managed by a set of commands including add, del, show and set a task. Background task schedules have a slot id, start-day-time, duration, and status attributes.

For details about setting up a schedule for background rebuild tasks, see “Setting Up a Rebuild Schedule” on page 45.

Rebuild activity attempts to (re)synchronize all members of redundant units such as RAID-1, RAID-10, RAID-5 and RAID-50. Rebuild can be started manually or automatically if a spare has been defined. Scheduled rebuilds will take place during the scheduled time slot, if enabled the schedules are enabled. For in depth information about rebuild and other background tasks, see “About Background Tasks” in the 3ware Serial ATA RAID Controller User Guide.

The show rebuild command displays the current rebuild background task schedule as illustrated below.

//localhost> /c1 show rebuild Rebuild Schedule for Controller /c1

========================================================

Slot Day HourDuration Status

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

1

Mon

2:00pm

10

hr(s)

disabled

2

Thu

7:00pm

18

hr(s)

disabled

3

-

-

-

 

disabled

4

-

-

-

 

disabled

5

-

-

-

hr(s)

disabled

6

Mon

1:00am

4

disabled

7

Sun

12:00am

1

hr(s)

disabled

A status of “disabled” indicates that the task schedule is disabled. In this case, the controller will not use the defined schedule timeslots. If the rebuild command is entered manually, rebuilding will start within 10 to 15 minutes. It will begin automatically if a rebuild is needed and a proper spare drive is set up.

www.3ware.com

41

Image 47
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 rebuild Show alarms reverseShow diag 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 flush Cx update fw=filenamewithpath forceCx commit 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 del selftest=slotid Cx set rebuild=enabledisable1..5Cx del verify=slotid Cx set exportjbod=onoff Cx set verify=enabledisable1..5Cx set selftest=enabledisable task=UDMASMART 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 stop verify Cx/ux pause rebuildCx/ux resume rebuild Cx/ux set cache=onoff quiet Cx/ux flushCx/ux set autoverify=onoff 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 Cx/px show attribute attribute Port Object CommandsCx/px show 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 slots Ex show attribute attributeEx show controllers 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 flush HelpHelp show Help focus Help updateHelp rescan Help commitReturn Code