AMCC 9650SE, 9550SX, 9500S, 9590SE manual Table of Contents

Page 3

Table of Contents

About this CLI Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 Chapter 1. Introduction to the 3ware Command Line Interface. . . . . . . . . . . . . . . . . .2

Features of the CLI

. 2

Supported Operating Systems

. 3

Terminology

. 3

Installing the 3ware CLI

. 4

Installing the 3ware CLI on Windows

. 4

Installing the 3ware CLI on Linux and FreeBSD

. 5

Working with 3ware CLI

. 6

Using the command interface interactively

. 6

Using a single command with output

. 7

Using an input file to execute a script

. 7

Outputting the CLI to a Text File

. 8

Conventions

. 8

Understanding RAID Levels and Concepts

. 9

RAID Concepts

. 9

Available RAID Configurations

10

Determining What RAID Level to Use

16

Chapter 2. CLI Syntax Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

Common Tasks Mapped to CLI Commands

19

Syntax Overview

21

Shell Object Commands

23

focus Object

23

show

24

show ver

25

show alarms [reverse]

26

show diag

26

show rebuild

26

show verify

27

show selftest

27

flush

28

rescan

28

commit

28

update fw=filename_with_path [force]

28

Controller Object Commands

29

/cx show

30

/cx show attribute [attribute ...]

31

/cx show driver

32

/cx show model

32

/cx show firmware

32

/cx show bios

32

/cx show monitor

32

/cx show serial

33

/cx show pcb

33

/cx show pchip

33

/cx show achip

33

www.3ware.com

iii

Image 3
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