AMCC 9500S, 9550SX, 9590SE, 9650SE manual Shell Object Commands, Focus Object

Page 29

Shell Object Commands

Enclosure Object Commands. Enclosure object commands provide information and perform actions related to a particular enclosure. For example, you can use enclosure object commands to see information about an enclosure and its elements (slots, fan, and temperature sensor elements).

Help Commands. Help commands allow you to display help information for all commands and attributes. For details, see “Help Commands” on page 91.

Shell Object Commands

Shell object commands are either applicable to all the controllers in the system (such as show, rescan, flush, commit), or redirect the focused object.

Syntax

focus object

show [attribute [modifier]] ver

alarms [reverse] diag

rebuild verify selftest

rescan flush commit

update fw=filename_with_path [force]

focus Object

The focus command is active in interactive mode only and is provided to reduce typing.

The focus command will set the specified object in focus and change the prompt to reflect this. This allows you to enter a command that applies to the focus, instead of having to type the entire object name each time.

For example, where normally you might type:

//hostname/c0/u0 show

if you set the focus to //hostname/c0/u0, the prompt changes to reflect that, and you only have to type show. The concept is similar to being in a particular location in a file system and requesting a listing of the current directory.

object can have the following forms:

//hostname/cx/ux specifies the fully qualified URI (Universal Resource Identifier) of an object on host hostname, controller cx, unit ux.

www.3ware.com

23

Image 29
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 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 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 Commands CLI 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 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 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 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 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 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 quietSupported 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 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 test quiet Cx/bbu enableCx/bbu disable quiet Ex show Enclosure Object CommandsEx show controllers Ex show attribute attributeEx show fans Ex show slotsEx show temp Ex show allEx/slotx set identify=onoff Ex/slotx showEx/slotx show identify 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