Adaptech makes great raid controlers, but if your running a Linux system how do you monitor your raid's integrity? Well I had that issue, and to make matters worse the distro wasn't natively supported by Adaptech. The distro we were using is called rPath. Once you find everything you need its a relatively simple process.

First of all find your controler on Adaptec's site. Your going to need the Linux Driver Source and the Linux Storage Manager.

  1. conary update conary
  2. conary update gcc
  3. Download aacraid-linux-src-x.x.x-x.tgz (raid driver source file)
  4. gunzip -f aacraid-linux-src-x.x.x-x.tgz
  5. tar -xvf aacraid-linux-src-x.x.x-x.tar
  6. rpm2cpio aacraid-x.x.x-x.src.rpm | cpio -iuvd
  7. mkdir aacraid
  8. mv aacraid_source.tgz aacraid
  9. gunzip -f aacraid_source.tgz
  10. tar -xvf aacraid_source.tar
  11. rm -rf aacraid_source.tar
  12. make -C /lib/modules/`uname -r`/build M=$PWD modules
  13. cp aacraid.ko /lib/modules/`uname -r`/kernel/drivers/scsi/aacraid
  14. depmod
  15. insmod /lib/modules/`uname -r`/kernel/drivers/scsi/aacraid/aacraid.ko
  16. Download StorageManger for Linux
  17. rpm2cpio StorMan-x.x.x86_64.rpm | cpio -iuvd
  18. cp ./usr/StorMan/libstdc++.so.5 /usr/lib64
  19. mkdir /usr/StorMan
  20. chmod +x ./usr/StorMan/arcconf
  21. cp ./usr/StorMan/arcconf /usr/StorMan/
  22. ln /usr/StorMan/arcconf arcconf

Then test by just running "arcconf getconfig 1" or "arcconf getstatus 1". Then you can go ahead and setup a cron job to check the status of the raid and e-mail you when its no longer Optimal.

Tags:Hardware Solutions

Jonathan Lundstrom


Related Posts