AMCC 9590SE-4ME manual Introduction to the 3ware Command Line Interface, Features of the CLI

Page 9

1

Introduction to the 3ware Command Line Interface

3ware RAID controllers can be managed using the CLI via a command line or script.

Important!

For all of the functions of the 3ware CLI to work properly, you must have the proper CLI, firmware, and driver versions installed. Check http://www.3ware.com for the latest versions and upgrade instructions.

This chapter includes the following sections:

“Features of the CLI” on page 3

“Installing the 3ware CLI on Mac OS X” on page 5

“Working with 3ware CLI” on page 5

“Understanding RAID Levels and Concepts” on page 8

Features of the CLI

3ware CLI is a command line interface for managing 3ware RAID Controllers. It provides controller, logical unit, drive, and enclosure management. It can be used in both interactive and batch mode, providing higher level API (application programming interface) functionalities.

You can use the CLI to view unit status and version information and perform maintenance functions such as adding or removing drives. 3ware CLI also includes advanced features for creating and deleting RAID units online.

For a summary of what you can do using the CLI, see “Common Tasks Mapped to CLI Commands” on page 15.

www.3ware.com

3

Image 9
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 alarms reverse Show diagShow rebuild Show selftest Show verifyFlush Update fw=filenamewithpath forceRescan CommitCx show Controller Object CommandsCx show Typical output looks like Cx show attribute attributeCx 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 Stripe Sizes Controller Object Commands Supported Model-Unit Types for ignoreECC Cx rescan noscanCx update fw=filenamewithpath force Cx commitCx flush 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 set rebuild=enabledisable1..5 Cx del verify=slotidCx del selftest=slotid Cx set verify=enabledisable1..5 Cx set selftest=enabledisable task=UDMASMARTCx set exportjbod=onoff Cx set spinup=nn Cx set ondegrade=cacheofffollowCx set stagger=nn Cx set autocarve=onoffCx 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 verifystatus Cx/ux show rebuildstatusCx/ux show initializestatus Cx/ux show nameCx/ux show storsave Cx/ux show qpolicyCx/ux show identify Cx/ux show autoverifyCx/ux show cache Cx/ux show volumesCx/ux show ignoreECC Cx/ux show allCx/ux del noscan quiet Cx/ux remove noscan quietCx/ux start verify Cx/ux start rebuild disk=pp-p...ignoreECCCx/ux pause rebuild Cx/ux resume rebuildCx/ux stop verify Cx/ux flush Cx/ux set autoverify=onoffCx/ux set cache=onoff quiet Cx/ux set ignoreECC=onoff Cx/ux set identify=onoffCx/ux set name=string Cx/ux set qpolicy=onoffCx/ux set storsave=protectbalanceperform quiet By default, qpolicy is offExample Valid Migration Paths Supported Stripe Sizes Migration Process 3JV2Q1VA Port Object Commands Cx/px showCx/px show attribute attribute Cx/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 enableEx show Enclosure Object CommandsEx show attribute attribute Ex show controllersEx show slots Ex show temp Ex show fansEx show all Ex/slotx showEx/slotx set identify=onoff Ex/slotx show identifyEx/fanx show Ex/tempx showHelp with specific commands Help CommandsHelp with attributes Help Help showHelp flush Help rescan Help updateHelp commit Help focusReturn Code