HP DL380 G5安装CentOS7找不到RAID驱动器问题解决方法

版权声明:本文为连鹏伟原创文章,未经博主允许不得转载。 https://blog.csdn.net/lpwmm/article/details/83036993

今天给机房的老服务器HP DL380 G5安装CentOS7.5的时候,进到安装界面后死活找不到RAID驱动器,Google查了一下,解决办法其实很简单:在安装程序启动前的引导菜单选择Install CentOS7后按tab键修改引导参数,在最后增加参数

hpsa.hpsa_allow_any=1

然后就可以看到RAID驱动器设备了

系统安装完成后无法正常启动,原因依然是RAID驱动系统默认没有支持P400设备,临时修改GRUB引导菜单,在 linux16 /vmlinuz-3.10.0-862.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8

后面加上hpsa.hpsa_allow_any=1然后Ctrl+X引导正常开机到系统里面先,然后再修改GRUB配置文件:

# vi /boot/grub2/grub.cfg

修改其中内容为:

linux16 /vmlinuz-3.10.0-862.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 hpsa.hpsa_allow_any=1

参考文章:https://serverfault.com/questions/611182/centos-7-x64-and-hp-proliant-dl360-g5-scsi-controller-compatibility

So the HP RAID controller driver from around 2001 to ~2009 was the CCISS driver. There was a transition to the HPSA driver at some point, moving the Smart Array controller support back into the regular SCSI subsystem versus the dedicated block driver...

HP servers from the G1 to G5 era used the CCISS driver. On newer operating systems (EL6 and forward), HP ProLiant G6 and newer systems made use of the HPSA driver.

It turns out that RHEL7 removes the old CCISS module. Your fix in this case, since the Smart Array P400 controller in your G5 server isn't recognized, is to force the HPSA driver to load your older controller. Do this with:

扫描二维码关注公众号,回复: 3642962 查看本文章
hpsa.hpsa_allow_any=1

As a module parameter...

From the man page.

hpsa_allow_any=1: This option allows the driver to attempt to operate on any HP Smart Array hardware RAID controller, even if it is not explicitly known to the driver. This allows newer hardware to work with older drivers. Typically this is used to allow installation of operating systems from media that predates the RAID controller, though it may also be used to enable hpsa to drive older controllers that would normally be handled by the cciss(4) driver. These older boards have not been tested and are not supported with hpsa, and cciss(4) should still be used for these.

猜你喜欢

转载自blog.csdn.net/lpwmm/article/details/83036993