AMCC 9550SX, 9500S, 9590SE, 9650SE manual Cx show diag, Cx show rebuild

Page 52

Chapter 2. CLI Syntax Reference

/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).

In order to redirect the output you must run the following command from a command line, not from within the tw_cli shell.

tw_cli /c0 show diag > diag.txt

/cx show rebuild

9000 series controllers support background tasks and allow you to schedule a regular time when they occur.

Rebuild is one of the supported background tasks. Migrate and initialize are other background tasks that follow the same schedule as rebuild. Other background tasks for which there are separate schedules are verify and selftest. For each background task, up to 7 time periods can be registered, known as slots 1 through 7. Each task schedule can be managed by a set of commands including add, del, show and set a task. Background task schedules have a slot id, start-day-time, duration, and status attributes.

For details about setting up a schedule for background rebuild tasks, see “Setting Up a Rebuild Schedule” on page 50.

Rebuild activity attempts to (re)synchronize all members of redundant units such as RAID-1, RAID-10, RAID-5 and RAID-50. Rebuild can be started manually or automatically if a spare has been defined. Scheduled rebuilds will take place during the scheduled time slot, if enabled the schedules are enabled. For in depth information about rebuild and other background tasks, see “About Background Tasks” in the 3ware Serial ATA RAID Controller User Guide.

The show rebuild command displays the current rebuild background task schedule as illustrated below.

//localhost> /c1 show rebuild Rebuild Schedule for Controller /c1

========================================================

Slot Day HourDuration Status

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

1

Mon

2:00pm

10

hr(s)

disabled

2

Thu

7:00pm

18

hr(s)

disabled

3

-

-

-

 

disabled

4

-

-

-

 

disabled

5

-

-

-

hr(s)

disabled

6

Mon

1:00am

4

disabled

7

Sun

12:00am

1

hr(s)

disabled

46

3ware Serial ATA RAID Controller CLI Guide

Image 52
Contents Command Line Interface 3ware Serial ATA RAID ControllerCopyright 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 Introduction to the 3ware Command Line Interface Features of the CLISupported Operating Systems TerminologyInstalling the 3ware CLI Installing the 3ware CLI on WindowsTo install 3ware CLI on Windows Permissions Required to Run CLIInstalling the 3ware CLI on Linux and FreeBSD To start CLI, do one of the followingWorking with 3ware CLI Using the command interface interactivelyTo use the CLI interactively Using an input file to execute a script Using a single command with outputScripting example Outputting the CLI to a Text File ConventionsUnderstanding RAID Levels and Concepts RAID ConceptsAvailable RAID Configurations RAIDRAID 1 Configuration Example RAID 5 Configuration Example RAID 6 Configuration Example RAID 10 Configuration Example Single Disk JbodRAID Configuration Types Possible Configurations Based on Number of DrivesDetermining What RAID Level to Use Hot SpareUsing Drive Capacity Efficiently Drive CapacitySupport for Over 2 Terabytes Common Tasks Mapped to CLI Commands CLI Syntax ReferenceCLI Syntax Reference Syntax Overview Port TasksC1 add type=raid1 disk=0-1 Shell Object Commands Focus ObjectShow ExampleShow ver Show diag Show alarms reverseShow rebuild Show verify Show selftestRescan FlushCommit Controller Object Commands Cx showCx show Cx show attribute attribute Cx show bios Cx show driverCx show model Cx show firmwareCx show serial Cx show pcbCx show pchip Cx show achipCx show numports Cx show numunitsCx show ctlbus Cx show exportjbodCx show spinup Cx show staggerCx show ondegrade Cx show autocarveCx show carvesize Cx show memoryCx show autorebuild Cx show unitstatusCx show allunitstatus Cx show drivestatusCx show all 3JV3MVTASupported RAID Types Supported Stripe Sizes KB Supported Model-Unit Types for ignoreECC Cx rescan noscan Cx commit Cx flushCx show alarms reverse Cx show diag Cx show rebuildRAID-5 Initializing Cx show verify Cx show selftest Setting Up a Rebuild Schedule Cx add rebuild=dddhhdurationSetting Up a Verify Schedule Cx add verify=dddhhdurationSetting Up a Selftest Schedule Cx add selftest=dddhhCx set rebuild=enabledisable1..5 Cx del rebuild=slotidCx del verify=slotid Cx del selftest=slotidCx set verify=enabledisable1..5 Cx set selftest=enabledisable task=UDMASMARTCx set ondegrade=cacheofffollow Cx set exportjbod=onoffCx set spinup=nn Cx set autocarve=onoff Cx set stagger=nnCx set carvesize=1024..2048 Cx set autorebuild=onoff Cx set autodetect=onoff disk=p-pallCx start mediascan Unit Object Commands Cx stop mediascanCx/ux show Cx/ux show rebuildstatus Cx/ux show statusCx/ux show verifystatus Cx/ux show initializestatus Cx/ux show nameCx/ux show serial Cx/ux show qpolicyCx/ux show storsave Cx/ux show identifyCx/ux show autoverify Cx/ux show cacheCx/ux show ignoreECC Cx/ux show volumesCx/ux show all Cx/ux remove noscan quiet Cx/ux del noscan quiet Cx/ux start rebuild disk=pp-p...ignoreECCCx/ux start verify Cx/ux pause rebuildCx/ux resume rebuild Supported RAID Logical Unit Types for VerificationCx/ux stop verify Cx/ux flushCx/ux set autoverify=onoff Cx/ux set cache=onoff quietCx/ux set ignoreECC=onoff Cx/ux set identify=onoffSupported RAID Types for Caching Cx/ux set qpolicy=onoff Cx/ux set name=stringCx/ux set storsave=protectbalanceperform quiet Example 3ware Serial ATA RAID Controller CLI Guide Valid Migration Paths Supported Stripe Sizes Example of splitting a mirror Migration ProcessExample of capacity expansion Example of migrate output Port Object Commands Cx/px showCx/px show status Cx/px show modelCx/px show serial Cx/px show firmwareCx/px show ncq Cx/px show lspeedCx/px show capacity 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 batinst Cx/bbu show lasttestCx/bbu show volt Cx/bbu show tempCx/bbu show bootloader Cx/bbu show serialCx/bbu show fw Cx/bbu show pcbCx/bbu disable quiet Cx/bbu enableCx/bbu test quiet Enclosure Object Commands Ex showEx show attribute attribute Ex show controllersEx show slots Ex show fansEx show temp Ex show allEx/slotx show identify Ex/slotx showEx/slotx set identify=onoff Help Commands Help with specific commandsEx/fanx show Ex/tempx showAttribute attribute Help with attributes HelpHelp update Help showHelp flush Help rescanHelp focus Help /cxHelp /cx/ux Help /cx/pxCommand Logging Return CodeHelp /ex/fanx Help /ex/tempxIf you type