Quick Reference Guide

Function Call Description
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 67. 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
cachepolicy=d
adisk=0:0:1,0:1:1,0:2:1
[vdisk1]
controllerid=0
size=65345
raid=1
readpolicy=ra
writepolicy=wt
132