AMCC 9650SE, 9550SX, 9500S, 9590SE manual Syntax Overview, Port Tasks

Page 27

Syntax Overview

Table 5: Common Tasks Mapped to CLI Commands

Task

CLI Command

Page

 

 

 

Enable/disable autoverify

/cx/ux set autoverify

68

 

 

 

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

81

 

 

 

Check if LED is set to on or off

/cx/px show identify

78

 

 

 

View information for specific drive

/cx/px show

77

 

 

 

View the status of specific drive

/cx/px show status

78

 

 

 

BBU Tasks

 

 

 

 

 

Check on charge and condition of

/cx/bbu/ show status

83

battery

 

 

 

 

 

Start a test of the battery

/cx/bbu test [quiet]

86

 

 

 

Enclosure Tasks

 

 

 

 

 

View information about an

/ex show

87

enclosure

 

 

 

 

 

Locate a particular drive slot in an

/ex/slotx set identify

90

enclosure by blinking an LED

 

 

 

 

 

Syntax Overview

The command syntax uses the general form:

Object Command Attributes

Objects are shell commands, controllers, units, ports (drives), BBUs (battery backup units), and enclosures.

Commands can either select (show, get, present, read) attributes or alter (add, change, set, write) attributes.

www.3ware.com

21

Image 27
Contents 3ware Serial ATA RAID Controller Command Line InterfaceCopyright 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 Features of the CLI Introduction to the 3ware Command Line InterfaceTerminology Supported Operating SystemsPermissions Required to Run CLI Installing the 3ware CLIInstalling the 3ware CLI on Windows To install 3ware CLI on WindowsTo start CLI, do one of the following Installing the 3ware CLI on Linux and FreeBSDUsing the command interface interactively Working with 3ware CLITo use the CLI interactively Using a single command with output Using an input file to execute a scriptScripting example Conventions Outputting the CLI to a Text FileRAID Concepts Understanding RAID Levels and ConceptsRAID Available RAID ConfigurationsRAID 1 Configuration Example RAID 5 Configuration Example RAID 6 Configuration Example RAID 10 Configuration Example Jbod Single DiskHot Spare RAID Configuration TypesPossible Configurations Based on Number of Drives Determining What RAID Level to UseDrive Capacity Using Drive Capacity EfficientlySupport for Over 2 Terabytes CLI Syntax Reference Common Tasks Mapped to CLI CommandsCLI Syntax Reference Port Tasks Syntax OverviewC1 add type=raid1 disk=0-1 Focus Object Shell Object CommandsExample ShowShow ver Show alarms reverse Show diagShow rebuild Show selftest Show verifyFlush RescanCommit Cx show Controller Object CommandsCx show Cx show attribute attribute Cx 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 RAID Types Supported Stripe Sizes KB Supported Model-Unit Types for ignoreECC Cx rescan noscan Cx flush Cx commitCx show alarms reverse Cx show rebuild Cx show diagRAID-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 add selftest=dddhh Setting Up a Selftest ScheduleCx del selftest=slotid Cx set rebuild=enabledisable1..5Cx del rebuild=slotid Cx del verify=slotidCx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx set exportjbod=onoff Cx set ondegrade=cacheofffollowCx set spinup=nn Cx set stagger=nn Cx set autocarve=onoffCx set carvesize=1024..2048 Cx set autodetect=onoff disk=p-pall Cx set autorebuild=onoffCx start mediascan Cx stop mediascan Unit Object CommandsCx/ux show Cx/ux show status Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show qpolicy Cx/ux show initializestatusCx/ux show name Cx/ux show serialCx/ux show cache Cx/ux show storsaveCx/ux show identify Cx/ux show autoverifyCx/ux show volumes Cx/ux show ignoreECCCx/ux show all Cx/ux remove noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECC Cx/ux del noscan quietSupported RAID Logical Unit Types for Verification Cx/ux start verifyCx/ux pause rebuild Cx/ux resume rebuildCx/ux set cache=onoff quiet Cx/ux stop verifyCx/ux flush Cx/ux set autoverify=onoffCx/ux set identify=onoff Cx/ux set ignoreECC=onoffSupported RAID Types for Caching Cx/ux set name=string Cx/ux set qpolicy=onoffCx/ux set storsave=protectbalanceperform quiet Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Migration Process Example of splitting a mirrorExample of capacity expansion Example of migrate output Cx/px show Port Object CommandsCx/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 enable Cx/bbu disable quietCx/bbu test quiet Ex show Enclosure Object CommandsEx show controllers Ex show attribute attributeEx show all Ex show slotsEx show fans Ex show tempEx/slotx show Ex/slotx show identifyEx/slotx set identify=onoff Ex/tempx show Help CommandsHelp with specific commands Ex/fanx showAttribute attribute Help Help with attributesHelp rescan Help updateHelp show Help flushHelp /cx/px Help focusHelp /cx Help /cx/uxHelp /ex/tempx Command LoggingReturn Code Help /ex/fanxIf you type