AMCC 9650SE Installing the 3ware CLI on Linux and FreeBSD, To start CLI, do one of the following

Page 11

Installing the 3ware CLI

If you are uncertain whether you have the correct permissions, contact your network administrator.

To start CLI, do one of the following:

Start the 3ware CD and at the 3ware Escalade menu, click Run CLI.

Or, open a console window, change to the directory where tw_cli is

located, and at the command prompt, enter

tw_cli

OR, double-click the CLI icon in a folder.

The CLI prompt is displayed in a DOS console window.

Installing the 3ware CLI on Linux and FreeBSD

3ware CLI can be installed or run directly from the 3ware software CD, or the latest version can be downloaded from the 3ware web site, http://www.3ware.com.

To install the 3ware CLI, copy tw_cli to the directory from which you want to run the program. CLI is located on the 3ware CD in /packages/cli/freebsd or /packages/cli/linux.

Online manual pages are also available in nroff and html formats. These are located in /packages/cli/tw_cli.8.html or tw_cli.8.nroff.

You will need to be root or have root privileges to install the CLI to /usr/sbin and to run the CLI.

Filename: tw_cli

To install the CLI to a different location, change /usr/sbin/ to the desired location.

Notes:

The installation location needs to be in the environment path for root to execute the CLI without using complete paths (i.e., if installed to /usr/sbin/, you can type tw_cli on the command line, otherwise you will have to type the complete path:

/home/user/tw_cli

The 3ware CLI comes in both 32-bit and 64-bit versions. Be sure to copy the correct version for the version of the operating system you are using.

www.3ware.com

5

Image 11
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 FreeBSDTo use the CLI interactively Using the command interface interactivelyWorking with 3ware CLI Scripting example Using a single command with outputUsing an input file to execute a script 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 rebuild Show alarms reverseShow diag Show selftest Show verifyCommit FlushRescan 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 spinup=nn Cx set exportjbod=onoffCx set ondegrade=cacheofffollow Cx set carvesize=1024..2048 Cx set stagger=nnCx set autocarve=onoff Cx set autodetect=onoff disk=p-pall Cx set autorebuild=onoffCx start mediascan Cx stop mediascan Unit Object CommandsCx/ux show Cx/ux show verifystatus Cx/ux show statusCx/ux show rebuildstatus 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 all Cx/ux show volumesCx/ux show ignoreECC 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=onoffSupported RAID Types for Caching Cx/ux set identify=onoffCx/ux set ignoreECC=onoff Cx/ux set storsave=protectbalanceperform quiet Cx/ux set name=stringCx/ux set qpolicy=onoff Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Example of capacity expansion Migration ProcessExample of splitting a mirror 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 test quiet Cx/bbu enableCx/bbu disable quiet Ex show Enclosure Object CommandsEx show controllers Ex show attribute attributeEx show all Ex show slotsEx show fans Ex show tempEx/slotx set identify=onoff Ex/slotx showEx/slotx show identify 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