AMCC 9590SE-4ME manual Shell Object Commands, Focus Object

Page 25

Shell Object Commands

Port Object Commands. Port object commands provide information and perform actions related to a drive on a specific port. For example, you use port object commands for such tasks as seeing the status, model, or serial number of the drive. For details, see “Port Object Commands” on page 69.

BBU Object Commands. BBU object commands provide information and perform actions related to a Battery Backup Unit on a specific controller. For details, see “BBU Object Commands” on page 74.

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 83.

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

www.3ware.com

19

Image 25
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 diag Show alarms reverseShow 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 commit Cx update fw=filenamewithpath forceCx 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 del verify=slotid Cx set rebuild=enabledisable1..5Cx del selftest=slotid Cx set selftest=enabledisable task=UDMASMART Cx set verify=enabledisable1..5Cx 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 resume rebuild Cx/ux pause rebuildCx/ux stop verify Cx/ux set autoverify=onoff Cx/ux flushCx/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 Cx/px show Port Object CommandsCx/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 controllers Ex show attribute attributeEx 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 show HelpHelp flush Help rescan Help updateHelp commit Help focusReturn Code