Shell Object Commands
www.3ware.com
25
Example:
//localhost> focus /c0/u0
//localhost/c0/u0>
//localhost/c0/u0> focus..
//localhost/c0>
//localhost> focus u0
//localhost/c0/u0>
//localhost/c0> focus /
//localhost>
The focus command is available by default. You can disable focus by setting
TW_CLI_INPUT_STYLE to
old
. (See “Return Code” on page 96.) (This
does not apply to Mac OS X.)
show
This command shows a general summary of all detected controllers.
Note that the device drivers for the appropriate operating system should be
loaded for the list to show all controllers. The intention is to provide a global
view of the environment.
Example:
Typical output of the Show command looks like the following:
//localhost> show
Ctl Model Ports Drives Units NotOpt RRate VRate BBU
-----------------------------------------------------------------------
c0 9590SE-4ME 4 4 1 0 2 5 -
The output above indicates that Controller 0 is a 9590SE model with 4 Ports,
with 4 Drives detected (attached), total of 1 Unit, with no units in a NotOpt
(Not Optimal) state, RRate (Rebuild Rate) of 2, VRate (Verify Rate) of 5,
BBU of '-' (Not Applicable). Not Optimal refers to any state except OK and
VERIFYING. Other states include VERIFY-PAUSED, INITIALIZING, INIT-
PAUSED, REBUILDING, REBUILD-PAUSED, DEGRADED,
MIGRATING, MIGRATE-PAUSED, RECOVERY, INOPERABLE, and
UNKNOWN. RRate also applies to initializing, migrating, and recovery
background tasks. (Definitions of the unit statuses are available in the
3ware
Serial ATA RAID Controller User Guide
.)
If you have a system with an enclosure unit, such as the 3ware Sidecar, that
includes support for an EPCT (Enclosure Port Configuration Table),
applicable firmware and software, and an appropriate controller (9550SX,
9590SE, or 9650SE), a global view of the environment also includes
summary information about detected enclosures.