I recently spent a couple days trying to get software loaded that would let me monitor my Adaptec hardware RAID - drove me nuts not being able to find easy-to-follow instructions, so I want to write up my steps to save someone else some time.

I have a Bytespeed 2U server with an Adaptec hardware RAID, 6805

Various sources point to the fact that Adaptec doesn't release source code for monitors its RAID controllers, but does release some partially-working software. I found software for the 6805 here:

Download Adaptec Storage Manager:

http://www.adaptec.com/en-us/speed/r..._18837_tgz.htm

Unzip / untar, copy arcconf to the server

run the following:
Code:
sudo chmod +x arcconf
sudo apt-get install libstdc++5
sudo ./arcconf GETCONFIG 1
For those that may need the info:
chmod +x - give arcconf the ability to be ran
libstdc++5: required for use with arcconf - will give errors w/out installing
arcconf GETCONFIG 1: returns status of RAID controller #1

The results from GETCONFIG should show your controller, statues, etc. I expect there are already Nagios plugins to monitor this info, but I'll post back as I figure this out.

Example results from GETCONFIG:
Code:
 
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
   Controller Status                        : Optimal
   Channel description                      : SAS/SATA
   Controller Model                         : Adaptec 6805
   Controller Serial Number                 : 1A15119C445
   Physical Slot                            : 5
   Temperature                              : 49 C/ 120 F (Normal)
   Installed memory                         : 512 MB
   Copyback                                 : Disabled
   Background consistency check             : Disabled
   Automatic Failover                       : Enabled
   Global task priority                     : High
   Performance Mode                         : Default/Dynamic
   Stayawake period                         : Disabled
   Spinup limit internal drives             : 0
   Spinup limit external drives             : 0
   Defunct disk drive count                 : 0
   Logical devices/Failed/Degraded          : 1/0/0
   MaxCache Read, Write Balance Factor      : 3,1
   NCQ status                               : Enabled
   Statistics data collection mode          : Enabled
   --------------------------------------------------------
   Controller Version Information
   --------------------------------------------------------
   BIOS                                     : 5.2-0 (18301)
   Firmware                                 : 5.2-0 (18301)
   Driver                                   : 1.1-7 (28000)
   Boot Flash                               : 5.2-0 (18301)
   --------------------------------------------------------
   Controller ZMM Information
   --------------------------------------------------------
   Status                                   : ZMM not installed
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
   Logical device name                      : 0
   RAID level                               : 1
   Status of logical device                 : Optimal
   Size                                     : 476150 MB
   Read-cache mode                          : Enabled
   Write-cache mode                         : Enabled (write-back)
   Write-cache setting                      : Enabled (write-back)
   Partitioned                              : Yes
   Protected by Hot-Spare                   : No
   Bootable                                 : Yes
   Failed stripes                           : No
   Power settings                           : Disabled
   --------------------------------------------------------
   Logical device segment information
   --------------------------------------------------------
   Segment 0                                : Present (Controller:1,Enclosure:0,                                                                             Slot:0) 9WJ19F3H00009137LYHH
   Segment 1                                : Present (Controller:1,Enclosure:0,                                                                             Slot:1) 9WJ19JHN00009137LYYR
 
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
      Device #0
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SAS 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,0(0:0)
         Reported Location                  : Enclosure 0, Slot 0
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : SEAGATE
         Model                              : ST3500414SS
         Firmware                           : 0006
         Serial number                      : 9WJ19F3H00009137LYHH
         World-wide name                    : 5000C50034182BDC
         Size                               : 476940 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
      Device #1
         Device is a Hard drive
         State                              : Online
         Supported                          : Yes
         Transfer Speed                     : SAS 6.0 Gb/s
         Reported Channel,Device(T:L)       : 0,1(1:0)
         Reported Location                  : Enclosure 0, Slot 1
         Reported ESD(T:L)                  : 2,0(0:0)
         Vendor                             : SEAGATE
         Model                              : ST3500414SS
         Firmware                           : 0006
         Serial number                      : 9WJ19JHN00009137LYYR
         World-wide name                    : 5000C50034180B58
         Size                               : 476940 MB
         Write Cache                        : Enabled (write-back)
         FRU                                : None
         S.M.A.R.T.                         : No
         S.M.A.R.T. warnings                : 0
         Power State                        : Full rpm
         Supported Power States             : Full rpm,Powered off
      Device #2
         Device is an Enclosure services device
         Reported Channel,Device(T:L)       : 2,0(0:0)
         Enclosure ID                       : 0
         Type                               : SES2
         Vendor                             : ESG-SHV.
         Model                              : SCA HSBP M11....
         Firmware                           : 2.17
         Status of Enclosure services device
            Power supply 1 status           : Optimal
            Power supply 2 status           : Optimal
            Temperature Sensor Status 1     : Normal
 
Command completed successfully.