DELL RAID Controller

Command Line Interface (CLI) for Dell's RAID Controller

The manual can be found at "h2. Comments by William Armitage

On procksi0 i have dropped the raid tools into /usr/local/afa

root@master01:/usr/local/afa# ls -l /usr/local/afa
total 3032
-rwxr--r-- 1 wja  procksi 1893976 Nov 29 11:51 afacli
-rw-r--r-- 1 root root          0 Nov 29 11:58 cfg.log
-rw-r--r-- 1 wja  procksi     572 Nov 29 11:51 getcfg.afa
-rw-r--r-- 1 root root        165 Dec 19 12:34 i2
-rw-r--r-- 1 root root       2050 Dec 19 12:36 i2.log
-rw-r--r-- 1 root root        159 Dec 11 18:11 i2.orig
-rw-r--r-- 1 root root        325 Dec 19 12:34 i3
-rw-r--r-- 1 root root    1153256 Dec 19 12:38 i3.log
-rw-r--r-- 1 root root         98 Nov 29 14:47 input
-rwxr--r-- 1 wja  procksi     595 Nov 29 11:51 MAKEDEV.afa
-rw-r--r-- 1 root root       1152 Nov 30 12:39 output
-rw-r--r-- 1 root root       1152 Nov 29 14:48 output.0
-rw-r--r-- 1 root root       1152 Nov 29 15:23 output.1
-rw-r--r-- 1 root root       1152 Nov 29 18:04 output.2

afacli is from http://linux.dell.com/storage.shtml under the section AACRAID > Management Utility > afa-apps-snmp.2807420-A04.tar.gz; untar and pull apart afaapps-4.1-0.i386.rpm.

[http://support.dell.com/support/downloads/download.aspx?c=us&l=en&s=gen&releaseid=R85529&formatcnt=1&fileid=112003":http://support.euro.dell.com/support/edocs/storage/CS6CH/en/ug/dell_ceg.htm]]

If you don't have /dev/afa0 create it by

  cd /dev
  /usr/local/afa/MAKEDEV.afa afa0

It disappeared after the reboot and needed recreating.

afacli is described as a bad port of a dos program.
while command line it does wierd things to the terminal so feed it scripts.
it does echo to the output as well as any logging set but it uses escape
codes that write to the alternate screen in colour xterm and then immediatly
switches back at end.

The "input" script comes from


the more detailed script "i2" comes from
[http://www.techno-obscura.com/~delgado/notes/sles9-NagiosAfacli.html":http://linux.dell.com/files/aacraid/nagios/check_raid_pl.txt][[br]][[br]]
<pre>

"i3" dumps the controller logs. Its based on
[http://threebit.net/mail-archive/centos/msg02033.html][[br]]
<pre>