AMCC 9590SE-4ME manual Cx show alarms reverse, Cx show diag

Page 46

Chapter 2. CLI Syntax Reference

Recommendation: No need to update.

Given the above recommendation...

Do you want to continue ? YN [N]: y

Downloading the firmware from file /tmp/prom0006.img ... Done.

The new image will take effect after reboot.

force attribute is optional. If you include it, the compatibility checks are bypassed.

/cx show alarms [reverse]

Asynchronous events (also referred to as AENs or alarms) are originated by firmware and captured by their respective device drivers. These events reflect warning, debugging, and/or informative messages for the end user. These events are kept in a finite queue inside the kernel, awaiting extraction by user space programs such as CLI and/or 3DM.

The /cx show alarms command displays all available alarms on a given controller. The default is to display the most recent alarm or AEN message first. The user can also use the [reverse] attribute to display the most recent alarm or AEN message last.

Alarms generated on 7000/8000 controllers do not have dates, so you will see a '-' in the Date column. This means that it is not applicable. In addition, alarm messages on 7000/8000 controllers contain the severity in the message text, so the Severity column also shows a '-'.

Typical output looks like:

tw_cli> /c1 show alarms reverse

Severity Message

Ctl Date

--------------------------------------------------------------------------------------------

c1

[Fri Nov 28 04:26:31 2003] ERROR

(0x04:0x0002): Degraded unit detected:unit=0, port=2

c1

[Fri Nov 28 06:13:54 2003] INFO

(0x04:0x000B): Rebuild started: unit=0

c1

[Fri Nov 28 06:30:35 2003] INFO

(0x04:0x003B): Background rebuild paused:unit=0

c1

[Fri Nov 28 06:33:00 2003] ERROR

(0x04:0x0002): Degraded unit detected:unit=0, port=0

c1

[Fri Nov 28 06:33:04 2003] ERROR

(0x04:0x0002): Degraded unit detected:unit=0, port=4

c1

[Fri Nov 28 06:33:46 2003] INFO

(0x04:0x000B): Rebuild started: unit=0

c1

[Fri Nov 28

06:37:58 2003]

INFO

(0x04:0x000B): Rebuild started: unit=0

c1

[Fri Nov 28

07:51:34 2003]

INFO

(0x04:0x0005): Background rebuild done:unit=0

c1

[Fri Nov 28

07:59:43 2003]

INFO

(0x04:0x0005): Background rebuild done:unit=0

c1

[Mon Dec 1

02:26:12 2003]

ERROR

(0x04:0x0002): Degraded unit detected:unit=0, port=3

/cx show diag

This command extracts controller diagnostics suitable for technical support usage. Note that some characters might not be printable or rendered correctly (human readable). It is recommended to save the output from this command to a file, where it can be communicated to technical support or further studied with Linux utilities such as od(1).

40

3ware Serial ATA RAID Controller CLI Guide for the Power Mac G5

Image 46
Contents Command Line Interface 3wareCopyright Table of Contents Page Cx/ux set autoverify=onoff Return Code About this CLI Guide Page Introduction to the 3ware Command Line Interface Features of the CLISupported Operating Systems TerminologyInstalling the 3ware CLI on Mac OS Working with 3ware CLIUsing the command interface interactively Using a single command with outputUsing an input file to execute a script Outputting the CLI to a Text FileUnderstanding RAID Levels and Concepts ConventionsRAID Concepts Available RAID Configurations RAIDRAID 0 Configuration Example RAID 5 Configuration Example Determining What RAID Level to Use Single DiskUsing Drive Capacity Efficiently Common Tasks Mapped to CLI Commands CLI Syntax ReferenceCommon Tasks Mapped to CLI Commands Common Tasks Mapped to CLI Commands Syntax Overview Shell Object Commands Focus ObjectShow Show ver Show diag Show alarms reverseShow rebuild Show verify Show selftestRescan Update fw=filenamewithpath forceFlush CommitController Object Commands Cx showCx show Cx show attribute attribute Typical output looks likeCx show model Cx show biosCx show driver Cx show firmwareCx show pchip Cx show serialCx show pcb Cx show achipCx show ctlbus Cx show numportsCx show numunits Cx show exportjbodCx show ondegrade Cx show spinupCx show stagger Cx show autocarveCx show carvesize Cx show memoryCx show autorebuild Cx show unitstatusCx show allunitstatus Cx show drivestatusCx show all 3JV3MVTASupported Stripe Sizes Controller Object Commands Cx rescan noscan Supported Model-Unit Types for ignoreECCCx commit Cx update fw=filenamewithpath forceCx flush Cx show alarms reverse Cx show diagCx show rebuild RAID-5 Initializing Cx show verify Cx show selftest Setting Up a Rebuild Schedule Cx add rebuild=dddhhdurationSetting Up a Verify Schedule Cx add verify=dddhhdurationCx add selftest=dddhh Cx del rebuild=slotidCx 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 stagger=nn Cx set ondegrade=cacheofffollowCx set spinup=nn Cx set autocarve=onoffCx set carvesize=1024..2048 Cx set autorebuild=onoffCx start mediascan Cx stop mediascanUnit Object Commands Cx/ux showCx/ux show attribute attribute Cx/ux show statusCx/ux show initializestatus Cx/ux show rebuildstatusCx/ux show verifystatus Cx/ux show nameCx/ux show identify Cx/ux show qpolicyCx/ux show storsave Cx/ux show autoverifyCx/ux show ignoreECC Cx/ux show volumesCx/ux show cache Cx/ux show allCx/ux remove noscan quiet Cx/ux del noscan quietCx/ux start rebuild disk=pp-p...ignoreECC Cx/ux start verifyCx/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 name=string Cx/ux set identify=onoffCx/ux set ignoreECC=onoff Cx/ux set qpolicy=onoffBy default, qpolicy is off Cx/ux set storsave=protectbalanceperform quietExample Valid Migration Paths Supported Stripe Sizes Migration Process 3JV2Q1VA Cx/px show Port Object CommandsCx/px show attribute attribute Cx/px show serial Cx/px show statusCx/px show model Cx/px show firmwareCx/px show capacity Cx/px show ncqCx/px show lspeed Cx/px show smartCx/px show all Cx/px remove noscan quiet Cx/px set identify=onoffBBU Object Commands Cx/bbu showCx/bbu show attribute attribute Cx/bbu show statusCx/bbu show volt Cx/bbu show batinstCx/bbu show lasttest Cx/bbu show tempCx/bbu show fw Cx/bbu show bootloaderCx/bbu show serial Cx/bbu show pcbCx/bbu enable Cx/bbu disable quietEnclosure Object Commands Ex showEx show controllers Ex show attribute attributeEx show slots Ex show all Ex show fansEx show temp Ex/slotx showEx/fanx show Ex/slotx show identifyEx/slotx set identify=onoff Ex/tempx showHelp Commands Help with specific commandsHelp with attributes Help show HelpHelp flush Help commit Help updateHelp rescan Help focusReturn Code