Quick Reference Guide

204 RAIDCFG
Setting Environment Variables
Table 4-12 lists the RAIDCFG options, parameters, and pre-defined
arguments for setting the CLI environment.
-ctrl -c=id -
ac=dphs
or
controller
controllerid=
id action=
disablepersist
enthotspare
NA NA Unassigns the slot corresponding to the hot
spare drive as persistent. If the drive is
removed from the slot and any drive is
inserted, the slot stops functioning as a hot
spare. You must manually assign the drive as
a hot spare again.
Example:
A:>raidcfg -ctrl -ac=dphs -c=2
-ad=0:1,0:2
RAIDCFG Command successful!
Table 4-12. Setting Environment
Mandatory
Options and
Arguments
Optional
Parameter
Valid
Parameter
Arguments
Description
-se -envn=
<string> -
envc=
<function>
or
setenvironment
envname=
<string>
envcommand=
<function>
NA NA Sets a user-defined environment variable to
the value returned from the
getcontrollerslots function call.
This option combination is mandatory.
Example:
A:>raidcfg -se -envn=CNTRL -
envc=getcontrollerslots
CNTRL=0 1 2
RAIDCFG Command successful!
Table 4-11. Assigning and Unassigning Persistent Dedicated Hot Spares
(continued)
Mandatory
Options and
Arguments
Optional
Parameter
Valid
Parameter
Arguments
Description