CLI Guide
Mandatory Options and
Arguments
Optional Parameters Valid Parameters
Arguments
Description
writepolicy=wt
stripesize=64
cachepolicy=d
adisk=0:3:1,0:4:1
NOTE: If the controller uses global hot
spares, the raid.ini le 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-dened arguments for assigning and unassigning global hot spares.
Table 348. 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 specied 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.
Example:
A:>raidcfg -ctrl -ac=sghs -c=2 -
ad=0:1 -force
RAIDCFG Command successful!
-ad|-pd -ac=lghs
-c=id or adisk|
pdisk -
action=listglobal
hotspare
controllerid=id
NA NA
Displays the array (physical) disks used for global hot
spare for the specied controller.
Example:
A:>raidcfg -ad -ac=lghs -c=2
RAIDCFG Command successful!
-ctrl —ac=rghs -
c=id -ad|-pd=
ch:targ:encl or
controller
NA NA
Unassigns all the specied global hot spares to a disk
on the specied controller.
206 RAIDCFG