AMCC 9500S, 9550SX, 9590SE, 9650SE manual RAID-5 Initializing

Page 53

Controller Object Commands

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.

If the rebuild schedule is enabled while a rebuild process is underway, the rebuild will pause until a scheduled time slot.

Example:

If a unit is in the initialization state at noon on Wednesday and the rebuild schedule shown above is in use (with schedules disabled), you would see the following status using the show command:

$ tw_cli /c1 show

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

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

u0

RAID-5

INITIALIZING

0

-

64K

521.466

ON

OFF

Port

Status

 

Unit

Size

 

Blocks

Serial

 

 

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

 

 

p0

NOT-PRESENT

-

-

GB

-

-

 

 

p1

OK

 

u0

76.33

160086528

Y2NXL7FE

 

p2

NOT-PRESENT

-

-

GB

-

-

 

 

p3

OK

 

u0

76.33

160086528

Y2NXLB9E

 

p4

NOT-PRESENT

-

-

GB

-

-

 

 

p5

OK

 

u0

76.33

160086528

Y2NXQPZE

 

p6

NOT-PRESENT

-

-

GB

-

-

 

 

p7

OK

 

u0

76.33

160086528

Y2NXM4VE

 

p8

OK

 

u0

74.53

GB

156301488

3JV3WTSE

 

p9

OK

 

u0

74.53

GB

156301488

3JV3WRHC

 

p10

OK

 

u0

74.53

GB

156301488

3JV3WQLQ

 

p11

OK

 

u0

74.53

GB

156301488

3JV3WQLZ

 

Name

OnlineState

BBUReady

Status

Volt

Temp

Hours

LastCapTest

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

bbu On

Yes

OK

OK

OK

0

xx-xxx-xxxx

If you then enable the rebuild schedules, the unit initialization will be paused until the next scheduled time slot, as reflected in the examples below:

//localhost> /c1 set rebuild=enable

Done.

Enabling scheduled rebuilds on controller /c1 ...

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

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

Slot

Day

Hour

Duration

Status

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

1

Mon

2:00pm

10

hr(s)

enabled

2

Thu

7:00pm

18

hr(s)

enabled

3

-

-

-

 

-

4

-

-

-

 

-

5

-

-

-

hr(s)

-

6

Mon

1:00am

4

enabled

7

Sun

12:00am

1

hr(s)

enabled

$ tw_cli /c1 show

 

 

 

Unit

UnitType

Status

%RCmpl %V/I/M

Stripe Size(GB) Cache AVrfy

www.3ware.com

47

Image 53
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 SystemsInstalling the 3ware CLI on Windows Installing the 3ware CLITo install 3ware CLI on Windows Permissions Required to Run CLITo start CLI, do one of the following Installing the 3ware CLI on Linux and FreeBSDTo use the CLI interactively Using the command interface interactivelyWorking with 3ware CLI Scripting example Using a single command with outputUsing an input file to execute a script 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 DiskPossible Configurations Based on Number of Drives RAID Configuration TypesDetermining What RAID Level to Use Hot SpareDrive 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 rebuild Show alarms reverseShow diag Show selftest Show verifyCommit FlushRescan Cx show Controller Object CommandsCx show Cx show attribute attribute Cx show driver Cx show biosCx show model Cx show firmwareCx show pcb Cx show serialCx show pchip Cx show achipCx show numunits Cx show numportsCx show ctlbus Cx show exportjbodCx show stagger Cx show spinupCx show ondegrade Cx show autocarveCx 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 rebuild=slotid Cx set rebuild=enabledisable1..5Cx del verify=slotid Cx del selftest=slotidCx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx set spinup=nn Cx set exportjbod=onoffCx set ondegrade=cacheofffollow Cx set carvesize=1024..2048 Cx set stagger=nnCx set autocarve=onoff Cx set autodetect=onoff disk=p-pall Cx set autorebuild=onoffCx start mediascan Cx stop mediascan Unit Object CommandsCx/ux show Cx/ux show verifystatus Cx/ux show statusCx/ux show rebuildstatus Cx/ux show name Cx/ux show initializestatusCx/ux show serial Cx/ux show qpolicyCx/ux show identify Cx/ux show storsaveCx/ux show autoverify Cx/ux show cacheCx/ux show all Cx/ux show volumesCx/ux show ignoreECC Cx/ux remove noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECC Cx/ux del noscan quietCx/ux pause rebuild Cx/ux start verifyCx/ux resume rebuild Supported RAID Logical Unit Types for VerificationCx/ux flush Cx/ux stop verifyCx/ux set autoverify=onoff Cx/ux set cache=onoff quietSupported RAID Types for Caching Cx/ux set identify=onoffCx/ux set ignoreECC=onoff Cx/ux set storsave=protectbalanceperform quiet Cx/ux set name=stringCx/ux set qpolicy=onoff Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Example of capacity expansion Migration ProcessExample of splitting a mirror Example of migrate output Cx/px show Port Object CommandsCx/px show model Cx/px show statusCx/px show serial Cx/px show firmwareCx/px show lspeed Cx/px show ncqCx/px show capacity Cx/px show smartCx/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 lasttest Cx/bbu show batinstCx/bbu show volt Cx/bbu show tempCx/bbu show serial Cx/bbu show bootloaderCx/bbu show fw Cx/bbu show pcbCx/bbu test quiet Cx/bbu enableCx/bbu disable quiet Ex show Enclosure Object CommandsEx show controllers Ex show attribute attributeEx show fans Ex show slotsEx show temp Ex show allEx/slotx set identify=onoff Ex/slotx showEx/slotx show identify Help with specific commands Help CommandsEx/fanx show Ex/tempx showAttribute attribute Help Help with attributesHelp show Help updateHelp flush Help rescanHelp /cx Help focusHelp /cx/ux Help /cx/pxReturn Code Command LoggingHelp /ex/fanx Help /ex/tempxIf you type