AMCC 9550SX, 9500S, 9590SE, 9650SE manual C1 add type=raid1 disk=0-1

Page 28

Chapter 2. CLI Syntax Reference

Attributes are either Boolean Attributes or Name-Value Attributes.

The value of a boolean attribute is deduced by presence or lack of—that is, the attribute is either specified, or not. For example, the command show alarms by default lists alarms with the most recent alarm first. If you include the attribute reverse, as in the command show alarms reverse, alarms are listed in reverse order.

The value of name-value attributes are expressed in the format attribute=value.

Example: When adding (creating) a unit to the controller with the following command string,

/c1 add type=raid1 disk=0-1

c1 is the object, add is the command, type (for type of array) is an attribute with raid1 as the value of the attribute, and disk is another attribute with 0-1as the value (ports 0 through 1).

Information about commands is organized by the object on which the commands act:

Shell Object Commands. Shell object commands set the focus or provide information (such as alarms, diagnostics, rebuild schedules, and so forth) about all controllers in the system. For details, see “Shell Object Commands” on page 23.

Controller Object Commands. Controller object commands provide information and perform actions related to a specific controller. For example, you use controller object commands for such tasks as seeing alarms specific to a controller, creating schedules during which background tasks are run, and setting policies for the controller. You also use the controller object command /cx add type to create RAID arrays. For details, see “Controller Object Commands” on page 29.

Unit Object Commands. Unit object commands provide information and perform actions related to a specific unit on a specific controller. For example, you use unit object commands for such tasks as seeing the rebuild, verify, or initialize status of a unit, starting, stopping, and resuming verifies, starting and stopping rebuilds, and setting policies for the unit. You also use the controller object command /cx/ux migrate to change the configuration of a RAID array. For details, see “Unit Object Commands” on page 59.

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

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

22

3ware Serial ATA RAID Controller CLI Guide

Image 28
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