AMCC 9590SE-4ME manual Cx add selftest=dddhh, Cx del rebuild=slotid

Page 53

Controller Object Commands

/cx add selftest=ddd:hh

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

ddd(where ddd is Sun, Mon, Tue, Wed, Thu, Fri, and Sat), at hour hh

(range 0 .. 23). Notice that selftest runs to completion and as such no duration is provided. A maximum of seven selftest tasks can be scheduled. This command will fail if no (empty) task slot is available.

Example:

//localhost> /c1 add selftest=Sun:16

adds a selftest background task schedule to be executed on Sundays at 16 hours (4:00 PM).

Setting Up a Selftest Schedule

Setting up a selftest schedule requires several steps, and several different CLI commands in addition to /cx add selftest.

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

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

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

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

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

/cx del rebuild=slot_id

This command removes the rebuild background task in slot slot_id.

Example:

//localhost> /c1 del rebuild=2

removes the rebuild background task in slot 2.

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

47

Image 53
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 verifyFlush Update fw=filenamewithpath forceRescan CommitCx show Controller Object CommandsCx show Typical output looks like Cx show attribute attributeCx 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 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 spinup=nn Cx set ondegrade=cacheofffollowCx set stagger=nn Cx set autocarve=onoffCx 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 verifystatus Cx/ux show rebuildstatusCx/ux show initializestatus Cx/ux show nameCx/ux show storsave Cx/ux show qpolicyCx/ux show identify Cx/ux show autoverifyCx/ux show cache Cx/ux show volumesCx/ux show ignoreECC Cx/ux show allCx/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 ignoreECC=onoff Cx/ux set identify=onoffCx/ux set name=string Cx/ux set qpolicy=onoffCx/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 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 disable quiet Cx/bbu enableEx show Enclosure Object CommandsEx show slots Ex show attribute attributeEx show controllers Ex show temp Ex show fansEx show all Ex/slotx showEx/slotx set identify=onoff Ex/slotx show identifyEx/fanx show Ex/tempx showHelp with specific commands Help CommandsHelp with attributes Help flush HelpHelp show Help rescan Help updateHelp commit Help focusReturn Code