
BC4000 Series RAID Controllers
User Manual
02/13/06
B ro ad c om C o r p or at i on
Page 118
Managing Controllers, Arrays, and Disks: bcadm --manage
Document
BC4000-UM100-R
M
ANAGING
C
ONTROLLERS
, A
RRAYS
,
AND
D
ISKS
: bcadm --manage
The
bcadm --manage
or
bcadm -M
command allows you to view information about the BC4000 Series
controllers and manage the arrays and disks.
For example, you can:
•
Query information about and list controllers.
•
Set cache attributes for arrays, check the consistency of redundant arrays, set priority levels for tasks on
an array, recover arrays, hide and unhide arrays, and list arrays.
•
Initialize disks, query information about disks, add and remove spares from an array, and set cache
attributes for disks.
O
PTIONS
The following options are available for the
bcadm --manage
command. The long and short formats for each
option are given, with an example under each format.
--query, -q
The Query option lists information for controllers, disks, and arrays. This option uses
--array
,
--controller
,
--disk
, and
--verbose
as qualifiers. See
“Example bcadm Usage with Output” on page 147
for query command
usage.
--query-all, -qa
The Query All option lists all controllers, arrays, and disks.
Note:
On Linux, anywhere that an asterisk (*) is used in a command as a wildcard argument, you
need to prevent shell expansion by either adding quotes around the asterisk (' or ") or preceding it
with a backslash (\).
Long form:
--query [--array <list>] [--controller <list>][--disk <list>]
[--verbose]
Short form:
-q [-a <list>] [-ct <list>] [-d <list>] [-v]
Example 1:
bcadm --manage --query --array 1 --disk * --verbose
Example 2:
bcadm -M -q -a 1 2 3 -d * -v
Long form:
--query-all
Short form:
-qa
Example:
bcadm --manage --query-all