AMCC 9590SE, 9550SX, 9500S, 9650SE manual Cx add selftest=dddhh, Setting Up a Selftest Schedule

Page 58

Chapter 2. CLI Syntax Reference

Note: If you do not enable autoverify for units or start a verification manually, your verify schedule will not run, even if it is enabled with the

/cx set verify=enable command.

Warning: If all time slots are removed, be sure to also disable the schedule.

Otherwise the applicable background task will never occur

/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 49.)

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 53.)

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 54.)

52

3ware Serial ATA RAID Controller CLI Guide

Image 58
Contents Command Line Interface 3ware Serial ATA RAID ControllerCopyright 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 Introduction to the 3ware Command Line Interface Features of the CLISupported Operating Systems TerminologyTo install 3ware CLI on Windows Installing the 3ware CLIInstalling the 3ware CLI on Windows Permissions Required to Run CLIInstalling the 3ware CLI on Linux and FreeBSD To start CLI, do one of the followingWorking with 3ware CLI Using the command interface interactivelyTo use the CLI interactively Using an input file to execute a script Using a single command with outputScripting example Outputting the CLI to a Text File ConventionsUnderstanding RAID Levels and Concepts RAID ConceptsAvailable RAID Configurations RAIDRAID 1 Configuration Example RAID 5 Configuration Example RAID 6 Configuration Example RAID 10 Configuration Example Single Disk JbodDetermining What RAID Level to Use RAID Configuration TypesPossible Configurations Based on Number of Drives Hot SpareUsing Drive Capacity Efficiently Drive CapacitySupport for Over 2 Terabytes Common Tasks Mapped to CLI Commands CLI Syntax ReferenceCLI Syntax Reference Syntax Overview Port TasksC1 add type=raid1 disk=0-1 Shell Object Commands Focus ObjectShow ExampleShow ver Show diag Show alarms reverseShow rebuild Show verify Show selftestRescan FlushCommit Controller Object Commands Cx showCx show Cx show attribute attribute Cx show model Cx show biosCx show driver Cx show firmwareCx show pchip Cx show serialCx show pcb Cx show achipCx show ctlbus Cx show numportsCx show numunits Cx show exportjbodCx show ondegrade Cx show spinupCx show stagger Cx show autocarveCx show carvesize Cx show memoryCx show autorebuild Cx show unitstatusCx show allunitstatus Cx show drivestatusCx show all 3JV3MVTASupported RAID Types Supported Stripe Sizes KB Supported Model-Unit Types for ignoreECC Cx rescan noscan Cx commit Cx flushCx show alarms reverse Cx show diag Cx show rebuildRAID-5 Initializing Cx show verify Cx show selftest Setting Up a Rebuild Schedule Cx add rebuild=dddhhdurationSetting Up a Verify Schedule Cx add verify=dddhhdurationSetting Up a Selftest Schedule Cx add selftest=dddhhCx del verify=slotid Cx set rebuild=enabledisable1..5Cx del rebuild=slotid Cx del selftest=slotidCx set verify=enabledisable1..5 Cx set selftest=enabledisable task=UDMASMARTCx set ondegrade=cacheofffollow Cx set exportjbod=onoffCx set spinup=nn Cx set autocarve=onoff Cx set stagger=nnCx set carvesize=1024..2048 Cx set autorebuild=onoff Cx set autodetect=onoff disk=p-pallCx start mediascan Unit Object Commands Cx stop mediascanCx/ux show Cx/ux show rebuildstatus Cx/ux show statusCx/ux show verifystatus Cx/ux show serial Cx/ux show initializestatusCx/ux show name Cx/ux show qpolicyCx/ux show autoverify Cx/ux show storsaveCx/ux show identify Cx/ux show cacheCx/ux show ignoreECC Cx/ux show volumesCx/ux show all Cx/ux remove noscan quiet Cx/ux del noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECCCx/ux resume rebuild Cx/ux start verifyCx/ux pause rebuild Supported RAID Logical Unit Types for VerificationCx/ux set autoverify=onoff Cx/ux stop verifyCx/ux flush Cx/ux set cache=onoff quietCx/ux set ignoreECC=onoff Cx/ux set identify=onoffSupported RAID Types for Caching Cx/ux set qpolicy=onoff Cx/ux set name=stringCx/ux set storsave=protectbalanceperform quiet Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Example of splitting a mirror Migration ProcessExample of capacity expansion Example of migrate output Port Object Commands Cx/px showCx/px show serial Cx/px show statusCx/px show model Cx/px show firmwareCx/px show capacity Cx/px show ncqCx/px show lspeed 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 volt Cx/bbu show batinstCx/bbu show lasttest Cx/bbu show tempCx/bbu show fw Cx/bbu show bootloaderCx/bbu show serial Cx/bbu show pcbCx/bbu disable quiet Cx/bbu enableCx/bbu test quiet Enclosure Object Commands Ex showEx show attribute attribute Ex show controllersEx show temp Ex show slotsEx show fans Ex show allEx/slotx show identify Ex/slotx showEx/slotx set identify=onoff Ex/fanx show Help CommandsHelp with specific commands Ex/tempx showAttribute attribute Help with attributes HelpHelp flush Help updateHelp show Help rescanHelp /cx/ux Help focusHelp /cx Help /cx/pxHelp /ex/fanx Command LoggingReturn Code Help /ex/tempxIf you type