1.1 HP hpssacli 无法发现raid控制器问题解决
[root@localhost /]# hpssacli ctrl all show
Error: No controllers detected.
[root@localhost /]#
1) 下载相关工具及驱动
a) http://ftp.hp.com/pub/softlib2/software1/pubsw-linux/p215599048/v100519/hpssacli-2.0-23.0.x86_64.rpm
2) 安装相关RPM 包
a) Rpm –vih hpssacli-2.0-23.0.x86_64.rpm
b) Rpm –vih kmod-hpsa-3.4.6-171.rhel6u4.x86_64.rpm
3) 删除old 的驱动
a) Modinfo hpsa #得到mod 路径
b) cd /lib/modules/2.6.32-358.112.1.openstack.el6.x86_64/kernel/drivers/scsi
c) mv hpsa.ko hpsa.ko.back # 重命名
d) rpm –ql kmod-hpsa # 得到hpsa.ko 绝对路径
e) cd /lib/modules/2.6.32-358.112.1.openstack.el6.x86_64/kernel/drivers/scsi
f) cp/lib/modules/2.6.32-358.el6.x86_64/extra/hpsa/hpsa.ko .
g) find . |cpio -ov -H newc |gzip >../initramfs.img
h) 重启引导,进入RAM 系统