Quick Reference Guide

Mandatory
Options and
Arguments
Optional
Parameters
Valid Parameters
Arguments
Description
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 21. 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
alhotspare
controllerid=i
d adisk|
pdisk=channel:
target:enclosu
re
NA NA
Assigns the specified disk as a global hot
spare on the controller. You can assign
only one disk at a time.
NOTE: The parameter, force, is
optional and is used to avoid the
warning messages while assigning
the disk as global hot spare. This
parameter is supported only on
PERC 9 controllers.
172