CLI Guide

Table 345. Assigning, Unassigning, and Listing Global Hot Spares (continued)
Mandatory Options
and Arguments
Optional Parameters Valid Parameters
Arguments
Description
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 specified controller.
Example:
A:>raidcfg -ad -ac=lghs -c=2
RAIDCFG Command successful!
-ctrl ac=rghs -
c=id -ad|-pd=
ch:targ:encl or
controller
action=removeglob
alhotspare
controllerid=id
adisk|
pdisk=channel:tar
get:enclosure
NA NA
Unassigns all the specified global hot spares to a
disk on the specified controller.
Example:
A:>raidcfg -ctrl -ac=rghs -c=2-
ad=0:1,0:2
RAIDCFG Command successful!
Importing And Clearing Foreign Configurations
The following table lists the RAIDCFG options, parameters, and pre-defined arguments for foreign configurations.
Table 346. RAIDCFG Options for Foreign Configurations
Mandatory Options
and Arguments
Optional Parameters Valid Parameters
Arguments
Description
-ctrl -c=id -
ac=fgnimp
or
controller
controllerid=idac
tion=foreignimpor
t
NA NA
Imports the foreign configuration detected in the
selected controller. This feature is supported on
PERC 5 and later controllers and is not supported
on SAS controllers.
If you use this argument on a controller that does
not have a foreign configuration, the No
Foreign configuration present in
the controller message is displayed.
NOTE: For importing secured foreign
configuration, use
importsecureforeignconfig or isfc.
For more details, see Importing Secured
Foreign Configurations.
Example:
A:>raidcfg -ctrl -c=2 -ac=fgnimp
RAIDCFG 187