3Ware 9650SE-2LPB-10 CLI Guide - Page 30

Shell Object Commands, focus Object, Object

Page 30 highlights

Chapter 2. CLI Syntax Reference Shell Object Commands Shell object commands are either applicable to all the controllers in the system (such as show, rescan, flush, commit), or redirect the focused object. Syntax focus object show [attribute [modifier]] ver alarms [reverse] diag rebuild verify selftest rescan flush commit update fw=filename_with_path [force] focus Object The focus command is active in interactive mode only and is provided to reduce typing. The focus command will set the specified object in focus and change the prompt to reflect this. This allows you to enter a command that applies to the focus, instead of having to type the entire object name each time. For example, where normally you might type: //hostname/c0/u0 show if you set the focus to //hostname/c0/u0, the prompt changes to reflect that, and you only have to type show. The concept is similar to being in a particular location in a file system and requesting a listing of the current directory. object can have the following forms: //hostname/cx/ux specifies the fully qualified URI (Universal Resource Identifier) of an object on host hostname, controller cx, unit ux. //hostname specifies the root of host hostname. .. specifies one level up (the parent object). / specifies the root at the current focused hostname. ./object specifies the next level of the object. /c0/bbu specifies a relative path with respect to the current focused hostname. 24 3ware Serial ATA RAID Controller CLI Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103

Chapter 2. CLI Syntax Reference
24
3ware Serial ATA RAID Controller CLI Guide
Shell Object Commands
Shell object commands are either applicable to all the controllers in the
system (such as show, rescan, flush, commit), or redirect the focused object.
Syntax
focus
object
show [
attribute
[
modifier
]]
ver
alarms [reverse]
diag
rebuild
verify
selftest
rescan
flush
commit
update fw=
filename_with_path
[force]
focus
Object
The focus command is active in interactive mode only and is provided to
reduce typing.
The focus command will set the specified object in focus and change the
prompt to reflect this. This allows you to enter a command that applies to the
focus, instead of having to type the entire object name each time.
For example, where normally you might type:
//hostname
/c0/u0 show
if you set the focus to
//hostname
/c0/u0
, the prompt changes to reflect that,
and you only have to type
show
. The concept is similar to being in a particular
location in a file system and requesting a listing of the current directory.
object
can have the following forms:
//hostname
/cx/ux
specifies the fully qualified URI (Universal Resource
Identifier) of an object on host
hostname
, controller
cx
, unit
ux
.
//hostname
specifies the root of host
hostname
.
..
specifies one level up (the parent object).
/
specifies the root at the current focused hostname.
./
object
specifies the next level of the object.
/c0/bbu
specifies a relative path with respect to the current focused
hostname.