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

今天给机房的老服务器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:

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.

 

Hp 服务器安装 1、连接好显示器键盘鼠标和光驱开机后按提示按 F10 进入 BIOS 2、选择 advanced。 3、在 advanced 下选择 SATA Configuration 回车 4、选择 RAID。 4、按 F10 保存退出重启。 5、在出现如下图选项时选择 F7 将两块硬盘组 RAID1(1+0) 。 6、重启后按提示按 F8 检查 RAID 是否完成选择 view logical drive 7、看到如下图说明 RAID 成功。按提示按 ESC 退出重启,放入自带光 盘。 8、让服务器重光盘启动。 9、看到如下选项看直接点击右下角 NEXT。 10、按 AGREE 同意条款。 11、选择 Install。 12、查看要安装的硬盘,直接点击右下角 NEXT。 13、按如下图选择所要安装的服务器系统。然后点 NEXT。 14、在如下图中选择默认,然后直接点 NEXT。 15、如下图点击 custom,在 partition size 中填入 20480,设置硬 盘系统盘大小为 20480M,然后点击右下角 NEXT。 16、在 organization name 中填入 weiwei,在 owner name 中填入 weiwei,在 product key 中填入系统的 key。其他选项为默认,然后 点击右下角 NEXT。 17、下面的选项为默认,直接点击右下角 NEXT。 18、下图是提示数据会丢失,直接点右下角 NEXT。 19、开始格式化光盘和考入驱动。 20、提示放入系统光盘复制安装文件。 21、复制完成后自动重启取出系统光盘,让系统重硬盘安装。 22、 出现如下图时, 设置计算机名为 weiwei-2, 管理员密码为 weiwei。 然后点下一步。 23、安装完成后直接重启后完成。进入系统后设置硬盘的扩展分区和 逻辑分区。最终硬盘分为三个盘 C (sys) 20G、D (data)30G、 E(bak) 200G。
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

DexterLien

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值