AMCC 9590SE-4ME manual Cx add rebuild=dddhhduration, Setting Up a Rebuild Schedule

Page 51

Controller Object Commands

/cx add rebuild=ddd:hh:duration

This command adds a new background rebuild task to be executed on the day

ddd(where ddd is Sun, Mon, Tue, Wed, Thu, Fri, and Sat), at the hour hh (range 0 .. 23), for a duration of duration (range 1 .. 24) hours. A maximum of seven rebuild tasks can be scheduled. This command will fail if no (empty) task slot is available.

Example:

//localhost> /c1 add rebuild=Sun:16:3

adds a rebuild background task schedule to be executed on Sundays at 16 hours (4:00 PM) for a duration of 3 hours.

Setting Up a Rebuild Schedule

Setting up a rebuild schedule commands in addition to /cx

requires several steps, and several different CLI add rebuild.

To set up the rebuild schedule you want to use, follow this process:

1Use the /cx show rebuild command to display the current schedule for rebuild tasks. (For details, see page 41.)

2If any of the scheduled tasks do not match your desired schedule, use the /cx del rebuild command to remove them. (For details, see page 47.)

3Use the /cx add rebuild command to create the rebuild schedule slots you want (described above.)

4Use the /cx set rebuild=enable command to enable the schedule (this enables all rebuild schedule slots). (For details, see page 48.)

Warning: If all time slots are removed, be sure to also disable the schedule. Otherwise the applicable background task will never occur.

www.3ware.com

45

Image 51
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