AMCC 9500S, 9550SX, 9590SE, 9650SE manual CLI Syntax Reference, Common Tasks Mapped to CLI Commands

Page 25

2

CLI Syntax Reference

This chapter provides detailed information about using the command syntax for the 3ware CLI.

Throughout this chapter the examples reflect the interactive method of executing 3ware CLI.

Common Tasks Mapped to CLI Commands

The table below lists many of the tasks people use to manage their RAID controllers and units, and lists the primary CLI command associated with those tasks.

Table 5: Common Tasks Mapped to CLI Commands

Task

CLI Command

Page

 

 

 

Controller Configuration Tasks

 

 

 

 

 

View information about a controller

/cx show

30

 

 

 

View controller policies

/cx show [attribute] [attribute]

31

 

 

 

Set policies for a controller

 

 

Export JBODs

/cx set exportjbod

55

Modify staggered spinup

/cx set stagger and /cx set spinup

56

Disable write cache on unit

/cx set ondegrade

55

 

degrade

 

 

Enable/disable autocarving

/cx set autocarve

56

Enable/disable autorebuild

/cx set autorebuild

56

Set the autocarve volume size

/cx set carvesize

56

 

 

 

Unit Configuration Tasks

 

 

 

 

 

Create a new unit

/cx add

40

 

 

 

Create a hot spare

/cx add

40

 

 

 

 

www.3ware.com

19

Image 25
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 SystemsInstalling the 3ware CLI on Windows Installing the 3ware CLITo install 3ware CLI on Windows Permissions Required to Run CLITo start CLI, do one of the following Installing the 3ware CLI on Linux and FreeBSDWorking 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 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 DiskPossible Configurations Based on Number of Drives RAID Configuration TypesDetermining What RAID Level to Use Hot SpareDrive 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 diag Show alarms reverseShow rebuild Show selftest Show verifyRescan FlushCommit Cx show Controller Object CommandsCx show Cx show attribute attribute Cx 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 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 rebuild=slotid Cx set rebuild=enabledisable1..5Cx del verify=slotid Cx del selftest=slotidCx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx set ondegrade=cacheofffollow Cx set exportjbod=onoffCx set spinup=nn Cx set autocarve=onoff Cx set stagger=nnCx 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 rebuildstatus Cx/ux show statusCx/ux show verifystatus Cx/ux show name Cx/ux show initializestatusCx/ux show serial Cx/ux show qpolicyCx/ux show identify Cx/ux show storsaveCx/ux show autoverify Cx/ux show cacheCx/ux show ignoreECC Cx/ux show volumesCx/ux show all Cx/ux remove noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECC Cx/ux del noscan quietCx/ux pause rebuild Cx/ux start verifyCx/ux resume rebuild Supported RAID Logical Unit Types for VerificationCx/ux flush Cx/ux stop verifyCx/ux set autoverify=onoff 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 Cx/px show Port Object CommandsCx/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 enableCx/bbu test quiet Ex show Enclosure Object CommandsEx show controllers Ex show attribute attributeEx show fans Ex show slotsEx show temp Ex show allEx/slotx show identify Ex/slotx showEx/slotx set identify=onoff Help with specific commands Help CommandsEx/fanx show Ex/tempx showAttribute attribute Help Help with attributesHelp show Help updateHelp flush Help rescanHelp /cx Help focusHelp /cx/ux Help /cx/pxReturn Code Command LoggingHelp /ex/fanx Help /ex/tempxIf you type