前言
针对老的硬件安装新的操作系统,无论是Windows还是Linux很多时候都会遇到无法识别磁盘阵列卡的情况,一般情况下通过dd加载官方或者老版本ISO中的驱动识别RAID阵列卡即可,但这次遇到的HP DL580比较特别,需要修改引导参数来解决,详细原因可以参考扩展阅读。本文主要以在HP DL580上部署RHEL 7为例,灵感来源于国外的一篇文章Installing CentOS 7 on older HP ProLiants,在此表示由衷的感谢。
使用hpsa.hpsa_allow_any=1忽略控制器检测识别磁盘阵列
更新记录
2015年12月03日 - 初稿
阅读原文 - http://wsgzao.github.io/post/cciss/
扩展阅读
- HP Smart Array CCISS driver - http://cciss.sourceforge.net/
Problem
A quick google brought up this StackOverflow article.
CentOS 7 x64 and HP Proliant DL360 G5 SCSI Controller compatibility - http://serverfault.com/questions/611182/centos-7-x64-and-hp-proliant-dl360-g5-scsi-controller-compatibility
PROBLEM: RHEL7 removes the the the CCSIS driver and you need to load the kernel component correctly before it can see any drives.
There are two parts to this install:
- Loading the kernel component for the installer (or rather allow HPSA to load any old driver)
- Altering the bootloader to ensure that on boot the kernel uses the same HPSA directives, otherwise after install it’ll boot and guess what… it won’t see your drives!
RHEL 7
第一次安装
- 加载RHEL 7.1的ISO镜像引导至安装画面
- 选择
Install Red Hat Enterprise Linux 7.1
- 按一下
Tab
,在quiet后空格加入quiet hpsa.hpsa_allow_any=1
- 按步骤一路执行,识别硬盘开始安装
安装重启修复引导
- 加载RHEL 7.1的ISO镜像引导至安装画面
- 选择
Trubleshooting→Rescue a Red Hat Enterprise Linux system
- 按一下
Tab
,在quiet后空格加入quiet hpsa.hpsa_allow_any=1
- 按步骤一路执行,识别硬盘挂载系统分区至
/mnt/sysimage
- 手动修改
/boot/grub2/grub.cfg
,重启后进入系统
chroot /mnt/sysimage
cd /boot/grub2/grub.cfg
cp grub.cfg grub.cfg.bak
vi grub.cfg
#在启动菜单处quiet空格加入参数
quiet hpsa.hpsa_allow_any=1
#保存退出重启
:x
exit
init 6
CentOS 7
CentOS 7 and older HP RAID controllers - http://jordanappleson.co.uk/linux/2014/09/18/centos-7-and-hp-raid-drivers/