CLI Guide

Table Of Contents
Table 345. Function Calls of the setenvironment Option (continued)
Function Call Description
Example:
A:>raidcfg -se -envn=HOTSPARES -envc=
gethotspares -c=2
HOTSPARES=1:8:1,1:9:1
RAIDCFG Command successful!
getfreeadisks
Returns the free array disks.
A:>raidcfg -se -envn=GETFREEADISKS -envc=
getfreeadisks -c=2
GETFREEADISKS=0:3:1,0:4:1
RAIDCFG Command successful!
getadiskcount
Returns the total number of array disks.
A:>raidcfg -se -envn=GETADISKCOUNT -envc=
getadiskcount -c=2
GETADISKCOUNT=1
RAIDCFG Command successful!
RAID Replication Options
The following table lists the RAID replication options.
Table 346. RAID Replication Options
Mandatory Options
and Arguments
Optional Parameters Valid Parameters
Arguments
Description
-i
NA <filename>
Reads the RAID configuration information from
the given .ini filename and creates the RAID
configurations on the specified controllers. This
option is mandatory.
Example:
A:> raidcfg -i=\tmp\raid.ini
-o
NA <filename>
Reads the RAID configurations from all available
controllers and writes these configurations in the
raid.ini file under the /tmp directory (in Linux
systems). This option is mandatory.
196 RAIDCFG