AMCC 9590SE-4ME manual RAID-5 Initializing

Page 48

Chapter 2. CLI Syntax Reference

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:

//localhost>/c1 show

%Cmpl Stripe Size(GB) Cache AVerify IgnECC

Unit UnitType Status

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

u0

RAID-5

INITIALIZING

0

64K

521.466

ON

OFF

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

 

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

//localhost> /c1 show

%Cmpl Stripe Size(GB) Cache AVerify IgnECC

Unit UnitType Status

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

u0

RAID-5

INIT-PAUSED 0

 

64K

521.466

ON

OFF

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

 

42

3ware Serial ATA RAID Controller CLI Guide for the Power Mac G5

Image 48
Contents Command Line Interface 3wareCopyright Table of Contents Page Cx/ux set autoverify=onoff Return Code About this CLI Guide Page Introduction to the 3ware Command Line Interface Features of the CLISupported Operating Systems TerminologyInstalling the 3ware CLI on Mac OS Working with 3ware CLIUsing the command interface interactively Using a single command with outputUsing an input file to execute a script Outputting the CLI to a Text FileUnderstanding RAID Levels and Concepts ConventionsRAID Concepts Available RAID Configurations RAIDRAID 0 Configuration Example RAID 5 Configuration Example Determining What RAID Level to Use Single DiskUsing Drive Capacity Efficiently Common Tasks Mapped to CLI Commands CLI Syntax ReferenceCommon Tasks Mapped to CLI Commands Common Tasks Mapped to CLI Commands Syntax Overview Shell Object Commands Focus ObjectShow Show ver Show alarms reverse Show diagShow rebuild Show verify Show selftestUpdate fw=filenamewithpath force FlushRescan CommitController Object Commands Cx showCx show Cx show attribute attribute Typical output looks likeCx show bios Cx show driverCx show model Cx show firmwareCx show serial Cx show pcbCx show pchip Cx show achipCx show numports Cx show numunitsCx show ctlbus Cx show exportjbodCx show spinup Cx show staggerCx show ondegrade Cx show autocarveCx show carvesize Cx show memoryCx show autorebuild Cx show unitstatusCx show allunitstatus Cx show drivestatusCx show all 3JV3MVTASupported Stripe Sizes Controller Object Commands Cx rescan noscan Supported Model-Unit Types for ignoreECCCx update fw=filenamewithpath force Cx commitCx flush Cx show alarms reverse Cx show diagCx show rebuild RAID-5 Initializing Cx show verify Cx show selftest Setting Up a Rebuild Schedule Cx add rebuild=dddhhdurationSetting Up a Verify Schedule Cx add verify=dddhhdurationCx add selftest=dddhh Cx del rebuild=slotidCx 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 ondegrade=cacheofffollow Cx set spinup=nnCx set stagger=nn Cx set autocarve=onoffCx set carvesize=1024..2048 Cx set autorebuild=onoffCx start mediascan Cx stop mediascanUnit Object Commands Cx/ux showCx/ux show attribute attribute Cx/ux show statusCx/ux show rebuildstatus Cx/ux show verifystatusCx/ux show initializestatus Cx/ux show nameCx/ux show qpolicy Cx/ux show storsaveCx/ux show identify Cx/ux show autoverifyCx/ux show volumes Cx/ux show cacheCx/ux show ignoreECC Cx/ux show allCx/ux remove noscan quiet Cx/ux del noscan quietCx/ux start rebuild disk=pp-p...ignoreECC Cx/ux start verifyCx/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 identify=onoff Cx/ux set ignoreECC=onoffCx/ux set name=string Cx/ux set qpolicy=onoffBy default, qpolicy is off Cx/ux set storsave=protectbalanceperform quietExample Valid Migration Paths Supported Stripe Sizes Migration Process 3JV2Q1VA Port Object Commands Cx/px showCx/px show attribute attribute Cx/px show status Cx/px show modelCx/px show serial Cx/px show firmwareCx/px show ncq Cx/px show lspeedCx/px show capacity Cx/px show smartCx/px show all Cx/px remove noscan quiet Cx/px set identify=onoffBBU Object Commands Cx/bbu showCx/bbu show attribute attribute Cx/bbu show statusCx/bbu show batinst Cx/bbu show lasttestCx/bbu show volt Cx/bbu show tempCx/bbu show bootloader Cx/bbu show serialCx/bbu show fw Cx/bbu show pcbCx/bbu enable Cx/bbu disable quietEnclosure Object Commands Ex showEx show attribute attribute Ex show controllersEx show slots Ex show fans Ex show tempEx show all Ex/slotx showEx/slotx show identify Ex/slotx set identify=onoffEx/fanx show Ex/tempx showHelp Commands Help with specific commandsHelp with attributes Help Help showHelp flush Help update Help rescanHelp commit Help focusReturn Code