Chapter 3. Legacy CLI Syntax Reference
84
3ware 9000 Series Serial ATA Controller CLI Guide
In addition, 3ware also includes on the 3ware CD a utility named
tw_sched(1), which is a wrapper around tw_cli(1). Used in conjunction with a
time-driven scheduler such as crond(1d), it provides background task
scheduling features such as rebuild, verify, and mediascan. For details about
tw_sched(1), see the manpages for it.
Scheduling for the 7000 and 8000 series models can also be done using 3DM
1.x. (Note that 3DM 2 only provides scheduling only for 9000 series models.)
Alarms.
The Alarms command allows you to display Asynchronous Event
Notification (AEN) events that have been generated by controllers. AEN
events have different levels of severity. They can be extracted and archived
for overall trend analysis. For details, see “Alarms Commands” on page 109.
CLI does not store alarms command in a log file, so when you reboot, alarms
in the previous session will be lost. To preserve the alarms through reboot,
you can either extract the alarms from CLI and store them in a file, or install
3DM 2, which does log alarm messages. For more information, see the
3ware
9000 Series Serial ATA RAID Controller User Guide
.
Set.
Setting commands can be used to modify and change controller and array
settings. Settings that can be changed include: rebuild rate, verify rate, and
turning on or off cache, autoverify, or overwriteECC. For details, see “Set
Commands” on page 111.
Help.
Help commands. Options in this category allow you to display help
information on the other commands and options. For details, see “Help
Commands” on page 113.
Throughout this chapter the examples reflect the interactive method of
executing 3ware CLI.
Conventions
The following conventions are used through this guide:
In text,
monospace font
is used for code and for things you type.
In commands, an italic font indicates items that you must specify, such as
a controller ID, or a unit ID.
In commands, brackets around an item indicates that it is optional.
In commands, ellipses (. . .) indicate that more than one parameter can be
included.
In commands, a brace (|) indicates an 'or' situation where the user has a
choice between more than one option, but only one can be specified.
For example, in the maint command to rescan all ports and reconstitute all
units, the syntax appears as
maint rescan [
cid
...] [noscan].
The italic
cid
indicates that you need to supply a controller ID. The ellipses indicate that
you can specify more than one controller ID, separated by spaces. The