Reference Guide

Function Call Description
gethotspares
Returns the global hot spares (global failover disks) found on the specified controller.
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 70. 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.
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
128