Check Hp Smart Array On Linux
Check Raid controller
lspci | grep RAID
03:00.0 RAID bus controller: Hewlett-Packard Company Smart Array Gen9 Controllers (rev 01)
Add hp repo
apt-get install curl
nano /etc/apt/sources.list
for jessie :
deb http://downloads.linux.hpe.com/SDR/repo/mcp jessie/current non-free
for stretch :
deb http://downloads.linux.hpe.com/SDR/repo/mcp/ stretch/current non-free
enroll apt keys and update
curl http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
apt-get update
Other key may be appear in : http://downloads.linux.hpe.com/keys.html
Installation
for wheezy
apt-get install hpacucli
for jessie and newer :
apt-get install ssacli # May change in the future
ensure of retrocompatibility
make an alias of ‘ssacli’ commands to ‘hpssacli’ :
ln -s /usr/sbin/ssacli /usr/sbin/hpssacli
Use :
show disk details
hpssacli ctrl all show config
Determine wich one is sda, sdb, etc..
hpssacli
=> controller slot=0 logicaldrive all show detail
=> exit
Leave a comment