AMCC 9590SE-4ME manual Common Tasks Mapped to CLI Commands

Page 23

Common Tasks Mapped to CLI Commands

Table 4: Common Tasks Mapped to CLI Commands

Task

CLI Command

Page

 

 

 

Add a time slot to a verify

/cx add verify

46

schedule

 

 

 

 

 

Add a time slot to a selftest

/cx add selftest

47

schedule

 

 

 

 

 

Enable/disable the rebuild/migrate

/cx set rebuild

48

schedule and set the task rate

 

 

 

 

 

Enable/disable the verify schedule

/cx set verify

49

and set the task rate

 

 

 

 

 

Enable/disable the selftest

/cx set selftest

49

schedule

 

 

 

 

 

View Alarms

/cx show alarms

40

 

 

 

Unit Maintenance Tasks

 

 

 

 

 

Start a rebuild

/cx/ux start rebuild

59

 

 

 

Start a verify

/cx/ux start verify

59

 

 

 

Pause/resume rebuild

/cx/ux pause rebuild and /cx/ux

60

 

resume rebuild

 

 

 

 

Stop verify

/cx/ux stop verify

60

 

 

 

Enable/disable autoverify

/cx/ux set autoverify

61

 

 

 

Identify all drives that make up a

/cx/ux set identify

64

unit by blinking associated LEDs

 

 

 

 

 

Port Tasks

 

 

 

 

 

Locate drive by blinking an LED

/cx/px set identify

73

 

 

 

Check if LED is set to on or off

/cx/px show identify

70

 

 

 

View information for specific drive

/cx/px show

69

 

 

 

View the status of specific drive

/cx/px show status

70

 

 

 

Enclosure Tasks

 

 

 

 

 

View information about an

/ex show

79

enclosure

 

 

 

 

 

Locate a particular drive slot in an

/ex/slotx set identify

82

enclosure by blinking an LED

 

 

 

 

 

www.3ware.com

17

Image 23
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 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 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 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 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 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 Cx/px show attribute attribute Port Object CommandsCx/px show 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 slots Ex show attribute attributeEx show controllers 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 flush HelpHelp show Help focus Help updateHelp rescan Help commitReturn Code