AMCC 9590SE, 9550SX, 9500S, 9650SE manual Supported RAID Types

Page 46

Chapter 2. CLI Syntax Reference

/cx add type=<RaidType> disk=<p:-p> [stripe=Stripe] [noscan] [group=<345678>] [nocache] [autoverify] [noqpolicy][ignoreECC] [name=string] [storsave=<protectbalanceperform>]

This command allows you to create a new unit on the specified controller. You specify type, disks, and optional stripe size. By default the host operating system will be informed of the new block device, write cache will be enabled, and a storsave policy of protect will be set. In case of RAID 50, you can also specify the layout of the unit by specifying the number of disks per disk group with the group attribute.

/cx is the controller name, for example /c0, /c1, and so forth.

type=RaidType specifies the type of RAID unit to be created. Possible unit types include raid0, raid1, raid5, raid6 (9650SE only), raid10, raid50, single, spare, and JBOD.

Example: type=raid5

When a new unit is created, it is automatically assigned a unique serial number. In addition, users can assign the unit a name.

Note: The unit’s serial number cannot be changed.

The following table shows supported types and controller models.

Table 6: Supported RAID Types

Model

R0

R1

R5

R6

R10

R50

Single

JBOD

Spare

 

 

 

 

 

 

 

 

 

 

7K/8K

Yes

Yes

Yes

No

Yes

No

No

Yes

Yes

 

 

 

 

 

 

 

 

 

 

9000a

Yes

Yes

Yes

No

Yes

Yes

Yes

Yes

Yes

9650SE

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

 

 

 

 

 

 

 

 

 

 

a. Models 9500S, 9550SX, and 9590SE

disk=p:-pconsists of a list of ports (disks) to be used in the construction of the specified unit type. One or more ports can be specified. Multiple ports can be specified using a colon (:) or a dash (-) as port index separators. A dash indicates a range and can be mixed with colons. For example disk=0:1:2- 5:9:12 indicates port 0, 1, 2 through 5 (inclusive), 9 and 12.

40

3ware Serial ATA RAID Controller CLI Guide

Image 46
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 TerminologyTo install 3ware CLI on Windows Installing the 3ware CLIInstalling the 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 JbodDetermining What RAID Level to Use RAID Configuration TypesPossible Configurations Based on Number of Drives 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 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 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 del verify=slotid Cx set rebuild=enabledisable1..5Cx del rebuild=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 serial Cx/ux show initializestatusCx/ux show name Cx/ux show qpolicyCx/ux show autoverify Cx/ux show storsaveCx/ux show identify 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 resume rebuild Cx/ux start verifyCx/ux pause rebuild Supported RAID Logical Unit Types for VerificationCx/ux set autoverify=onoff Cx/ux stop verifyCx/ux flush 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 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 disable quiet Cx/bbu enableCx/bbu test quiet Enclosure Object Commands Ex showEx show attribute attribute Ex show controllersEx show temp Ex show slotsEx show fans Ex show allEx/slotx show identify Ex/slotx showEx/slotx set identify=onoff Ex/fanx show Help CommandsHelp with specific commands Ex/tempx showAttribute attribute Help with attributes HelpHelp flush Help updateHelp show Help rescanHelp /cx/ux Help focusHelp /cx Help /cx/pxHelp /ex/fanx Command LoggingReturn Code Help /ex/tempxIf you type