CLI Guide
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 <lename>
Reads the RAID conguration information from the
given .ini lename and creates the RAID
congurations on the specied controllers. This option
is mandatory.
Example:
A:> raidcfg -i=\tmp\raid.ini
-o
NA <lename>
Reads the RAID congurations from all available
controllers and writes these congurations in the
raid.ini le 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
RAIDCFG 205