Quick Reference Guide

Mandatory Options
and Arguments
Optional Parameters Valid Parameters
Arguments
Description
Example:
A:> raidcfg -i=\tmp\raid.ini
-o
NA <filename>
Reads the RAID configurations from all
available controllers and writes these
configurations in the raid.ini file under
the /tmp directory (in Linux systems). This
option is mandatory.
Example:
A:> raidcfg -o=\tmp\raid.ini
The contents of the raid.ini
file are:
[vdisk0]
controllerid=0
size=123456
raid=5
readpolicy=ra
writepolicy=wt
stripesize=32
cachepolicy=d
adisk=0:0:1,0:1:1,0:2:1
[vdisk1]
controllerid=0
size=65345
raid=1
readpolicy=ra
writepolicy=wt
stripesize=64
cachepolicy=d
adisk=0:3:1,0:4:1
NOTE: If the controller uses global hot
spares, the raid.ini file contains the
following section:
[GlobalHotspare0]
controllerid=0
failoverdrive=0:8:0
Assigning, Unassigning, And Listing Global Hot Spares
The following table lists the RAIDCFG options, parameters, and pre-defined arguments for assigning and unassigning
global hot spares.
Table 71. Assigning, Unassigning, and Listing Global Hot Spares
Mandatory Options
and Arguments
Optional Parameters Valid Parameters
Arguments
Description
-ctrl -ac=sghs
-c=id -ad|-pd=
ch:targ:encl
or
controller
action=setglob
NA NA
Assigns the specified disk as a global hot
spare on the controller. You can assign only
one disk at a time.
132