Manuals
/
Brands
/
Computer Equipment
/
Computer Accessories
/
AMCC
/
Computer Equipment
/
Computer Accessories
AMCC
9500S, 9550SX, 9590SE, 9650SE manual
1
1
103
103
Download
103 pages, 534.98 Kb
3ware
®
Serial AT
A
RAID Controller
Command Line Interface
Supports the 9000 Series
(9500S, 9550SX,
9590SE, 9650SE)
PN: 720-0145-00
October 2006
CLI Guide
Contents
Main
CLI Guide
Copyright
Trademarks
Disclaimer
www.3ware.com iii
Table of Contents
iv 3ware Serial ATA RAID Controller CLI Guide
www.3ware.com v
vi 3ware Serial ATA RAID Controller CLI Guide
About this CLI Guide
Table 1: Sections in this CLI Guide
Introduction to the 3ware Command Line Interface
Features of the CLI
Supported Operating Systems
Terminology
Installing the 3ware CLI
Installing the 3ware CLI on Windows
Permissions Required to Run CLI
Installing the 3ware CLI on Linux and FreeBSD
Working with 3ware CLI
Using the command interface interactively
Using a single command with output
Example
Using an input file to execute a script
Example
Scripting example
Outputting the CLI to a Text File
Examples
Conventions
Understanding RAID Levels and Concepts
RAID Concepts
Available RAID Configurations
RAID 0
RAID 1
RAID 5
RAID 6
RAID 10
RAID 50
Single Disk
JBOD
Hot Spare
Determining What RAID Level to Use
Using Drive Capacity Efficiently
Support for Over 2 Terabytes
www.3ware.com 19
CLI Syntax Reference
Common Tasks Mapped to CLI Commands
20 3ware Serial ATA RAID Controller CLI Guide
Syntax Overview
www.3ware.com 21
Syntax Overview
The command syntax uses the general form:
change, set, write) attributes.
Objects are shell commands, controllers, units, ports (drives), BBUs (battery
backup units), and enclosures.
Page
Shell Object Commands
focus
Object
Page
show ver
show alarms [reverse]
show diag
show rebuild
show verify
show selftest
filename_with_path
Controller Object Commands
www.3ware.com 29
Controller Object Commands
Page
Page
Page
Page
Page
Page
show carvesize
show memory
show autorebuild
show unitstatus
show allunitstatus
show drivestatus
Controller Object Commands
www.3ware.com 39
Example: (where x represents the actual version number)
=<RaidType>
=<p:-p>
string
<3|4|5|6|7|8>
Stripe
Page
series, this setting is only applicable during rebuild; it is not applicable during creation.
rescan [noscan]
commit
filename_with_path
flush
update fw=
[force]
show alarms [reverse]
show diag
show rebuild
Page
show verify
show selftest
add rebuild=
ddd:hh:duration
Setting Up a Rebuild Schedule
add verify=
ddd:hh:duration
Setting Up a Verify Schedule
add selftest=
ddd:hh
Setting Up a Selftest Schedule
del rebuild=
del verify=
set
del selftest=
rebuild=enable|disable|1..5
set verify=enable|disable|1..5
set selftest=enable|disable
[task=UDMA|SMART]
set exportjbod=on|off
set ondegrade=cacheoff|follow
nn
set stagger=
nn
set autocarve=on|off
set carvesize=[1024..2048]
set autorebuild=on|off
/cx set autodetect=on|off disk=<p:-p>|all
start mediascan
Unit Object Commands
www.3ware.com 59
stop mediascan
Unit Object Commands
Page
Page
Page
Page
show ignoreECC
show volumes
show all
remove
[noscan] [quiet]
x
p<p:-p...>
start rebuild disk=
del
Page
Page
set identify=on|off
set ignoreECC=on|off
string
Page
RaidType
p:-p
Stripe
[disk=
migrate type=
Table 11: Valid Migration Paths
Page
Migration Process
Example of splitting a mirror
Example of capacity expansion
76 3ware Serial ATA RAID Controller CLI Guide
Example of migrate output
Port Object Commands
Page
Page
80 3ware Serial ATA RAID Controller CLI Guide
Note:
remove [noscan] [quiet]
set identify=on|off
BBU Object Commands
[
...]
status
Page
Page
Page
Enclosure Object Commands
/ex show
88 3ware Serial ATA RAID Controller CLI Guide
Typical output looks like:
/ex show
[
...]
/ex show controllers
This command lists the controller associated with enclosure /ex.
/ex show slots
/ex show fans
/ex show temp
/ex show all
/ex/slotx show
/ex/slotx show identify
/ex/slotx set identify=on|off
/ex/fanx show
/ex/tempx show
Help Commands
Help with specific commands
92 3ware Serial ATA RAID Controller CLI Guide
Help Commands
www.3ware.com 93
Help with attributes
help
Page
Page
help /e
/fan
/temp
help /e
Command Logging
Return Code