HP Bl460C G6 Centos7 RAID tool

Works on my HP G6 servers with this in lspci
0c:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)

wget http://mirror.nforce.com/pub/software/raidtools/hpacucli-tool/hpacucli-9.40-12.0.x86_64.rpm
yum install hpacucli-9.40-12.0.x86_64.rpm
hpacucli ctrl all show status

Will probably show as “Error: No controllers detected.
Run modprobe sg then re-run hpacucli ctrl all show status

With any luck you will see somehting like

 /usr/sbin/uname26 hpacucli ctrl all show status

Smart Array P410i in Slot 0 (Embedded)
   Controller Status: OK
   Cache Status: OK
   Battery/Capacitor Status: OK

Because of something todo with a new kernel version i had to run the HPacuCli tool with the uname26 command

See more inof here – http://www.legendiary.at/2012/06/21/hpacucli-does-not-work-on-kernel-3-0-wrapper-workaround-uname26/

mkdir uname26 ; cd uname26
wget http://mirror.linux.org.au/linux/kernel/people/ak/uname26/Makefile
wget http://mirror.linux.org.au/linux/kernel/people/ak/uname26/uname26.c
yum install cc gcc cpp
cp uname26 /usr/sbin