Quick Reference Guide

154 RAIDCFG
getcontrollertype Returns LSI for LSI controllers and ADAP for Adaptec
controllers.
Example:
A:>raidcfg -se -envn=CONTROLLERTYPE -envc=
getcontrollertype -c=2
CONTROLLERTYPE=LSI
RAIDCFG command successful!
getadisks Returns the array disks attached to the controller.
Example:
A:>raidcfg -se -envn=ADISKS -envc=getadisks -
c=2
ADISKS=0:0:1,0:1:1,0:2:1
RAIDCFG command successful!
getfreeadiskcoun
t
Returns the number of free array disks found in the specified
controller.
Example:
A:>raidcfg -se -envn=FREEADISKCOUNT -envc=
getfreeadiskcount -c=2
FREEADISKCOUNT=2
RAIDCFG command successful!
getfreeadisksize Returns the total size of the free array disks in megabytes.
Example:
A:>raidcfg -se -envn=FREEADISKSIZE -envc=
getfreeadisksize -c=2
FREEADISKSIZE=15346
RAIDCFG command successful!
Table 4-10. Function Calls of the setenvironment Option (continued)
Function Call Description