![AMCC 3WARE 9500S Manual Download Page 29](http://html1.mh-extra.com/html/amcc/3ware-9500s/3ware-9500s_manual_2921146029.webp)
Primary Syntax Overview
www.3ware.com
21
Primary Syntax Overview
The primary command syntax uses the general form:
Object Command Attributes
Objects
are shell commands, controllers, units, ports (drives), and BBUs
(battery backup units).
Commands
can either select (show, get, present, read) attributes or alter (add,
change, set, alter, 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
.
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-1
as the value (ports 0 through 1).
Unit Maintenance Tasks
Start a rebuild
/cx/ux start rebuild
59
Start a verify
/cx/ux start verify
60
Pause/resume rebuild
/cx/ux pause rebuild and /cx/ux
resume rebuild
60
Stop verify
/cx/ux stop verify
60
Enable/disable autoverify
/cx/ux set autoverify
61
Port Tasks
Locate drive by blinking an LED
/cx/px set identify
73
Check if LED is set to on or off
/cx/px show identify
70
View information for specific drive
/cx/px show
69
View the status of specific drive
/cx/px show status
69
Table 5: Common Tasks Mapped to CLI Commands
Task
CLI Command
Page