CLI Guide

Table Of Contents
Table 346. RAID Replication Options (continued)
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 347. 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=setglobalh
otspare
controllerid=id
adisk|
pdisk=channel:tar
get:enclosure
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.
NOTE: Assign hot spare for a bootable virtual
disk only from the disk drives of slot 0-3 of
the system.
RAIDCFG 197