
Chapter 2. CLI Syntax Reference
22
3ware Serial ATA RAID Controller CLI Guide
Syntax Overview
The command syntax uses the general form:
Object Command Attributes
Objects
are shell commands, controllers, units, ports (drives), BBUs (battery
backup units), and enclosures.
Commands
can either select (show, get, present, read) attributes or alter (add,
change, set, write) attributes.
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
.
Identify all drives that make up a
unit by blinking associated LEDs
/cx/ux set identify
64
Port Tasks
Locate drive by blinking an LED
/cx/px set identify
81
Check if LED is set to on or off
/cx/px show identify
78
View information for specific drive
/cx/px show
77
View the status of specific drive
/cx/px show status
78
BBU Tasks
Check on charge and condition of
battery
/cx/bbu/ show status
83
Start a test of the battery
/cx/bbu test [quiet]
86
Enclosure Tasks
View information about an
enclosure
/ex show
87
Locate a particular drive slot in an
enclosure by blinking an LED
/ex/slotx set identify
90
Table 5: Common Tasks Mapped to CLI Commands
Task
CLI Command
Page