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

Page 22

Chapter 2. CLI Syntax Reference

Table 4: Common Tasks Mapped to CLI Commands

Task

CLI Command

Page

 

 

 

Controller Configuration Tasks

 

 

 

 

 

View information about a controller

/cx show

26

 

 

 

View controller policies

/cx show [attribute] [attribute]

27

 

 

 

Set policies for a controller

 

 

Export JBODs

/cx set exportjbod

49

Modify staggered spinup

/cx set stagger and /cx set spinup

50

Disable write cache on unit

/cx set ondegrade

50

 

degrade

 

 

Enable/disable autocarving

/cx set autocarve

50

Enable/disable autorebuild

/cx set autorebuild

50

Set the autocarve volume size

/cx set carvesize

51

 

 

 

Unit Configuration Tasks

 

 

 

 

 

Create a new unit

/cx add

36

 

 

 

Create a hot spare

/cx add

36

 

 

 

Enable/disable unit write cache

/cx/ux set cache

61

 

 

 

Set the queue policy

/cx/ux set qpolicy

62

 

 

 

Set the storsave profile

/cx/ux set storsave

63

 

 

 

Unit Configuration Changes

 

 

 

 

 

Change RAID level

/cx/ux migrate

64

 

 

 

Change stripe size

/cx/ux migrate

64

 

 

 

Expand unit capacity

/cx/ux migrate

64

 

 

 

Delete a unit

/cx/ux del

58

 

 

 

Remove a unit (export)

/cx/ux remove

58

 

 

 

Name a unit

/cx/ux set name

62

 

 

 

Controller Maintenance Tasks

 

 

 

 

 

Update controller with new

/cx update

39

firmware

 

 

 

 

 

Add a time slot to a rebuild

/cx add rebuild

45

schedule

 

 

 

 

 

 

16

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

Image 22
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 diag Show alarms reverseShow rebuild Show verify Show selftestRescan Update fw=filenamewithpath forceFlush CommitController Object Commands Cx showCx show Cx show attribute attribute Typical output looks likeCx 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 Stripe Sizes Controller Object Commands Cx rescan noscan Supported Model-Unit Types for ignoreECCCx commit Cx update fw=filenamewithpath forceCx 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 del verify=slotid Cx set rebuild=enabledisable1..5Cx del selftest=slotid Cx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx set exportjbod=onoff Cx set stagger=nn Cx set ondegrade=cacheofffollowCx set spinup=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 initializestatus Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show nameCx/ux show identify Cx/ux show qpolicyCx/ux show storsave Cx/ux show autoverifyCx/ux show ignoreECC Cx/ux show volumesCx/ux show cache 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 resume rebuild Cx/ux pause rebuildCx/ux stop verify Cx/ux set autoverify=onoff Cx/ux flushCx/ux set cache=onoff quiet Cx/ux set name=string Cx/ux set identify=onoffCx/ux set ignoreECC=onoff Cx/ux set qpolicy=onoffBy default, qpolicy is off Cx/ux set storsave=protectbalanceperform quietExample Valid Migration Paths Supported Stripe Sizes Migration Process 3JV2Q1VA Cx/px show Port Object CommandsCx/px show attribute attribute Cx/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 enable Cx/bbu disable quietEnclosure Object Commands Ex showEx show controllers Ex show attribute attributeEx show slots Ex show all Ex show fansEx show temp Ex/slotx showEx/fanx show Ex/slotx show identifyEx/slotx set identify=onoff Ex/tempx showHelp Commands Help with specific commandsHelp with attributes Help show HelpHelp flush Help commit Help updateHelp rescan Help focusReturn Code