HP Bl460C G6 Centos7 RAID tool

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 something like

1/usr/sbin/uname26 hpacucli ctrl all show status
2
3Smart Array P410i in Slot 0 (Embedded)
4   Controller Status: OK
5   Cache Status: OK
6   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/

1mkdir uname26 ; cd uname26
2wget http://mirror.linux.org.au/linux/kernel/people/ak/uname26/Makefile
3wget http://mirror.linux.org.au/linux/kernel/people/ak/uname26/uname26.c
4make
5yum install cc gcc cpp
6make
7cp uname26 /usr/sbin