前言

针对老的硬件安装新的操作系统,无论是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月31日 - 更新细节描述
2015年12月03日 - 初稿

阅读原文 - https://wsgzao.github.io/post/cciss/

扩展阅读


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:

  1. Loading the kernel component for the installer (or rather allow HPSA to load any old driver)
  2. 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

第一次安装

  1. 加载RHEL 7.1的ISO镜像引导至安装画面
  2. 选择Install Red Hat Enterprise Linux 7.1
  3. 按一下Tab,在quiet后空格加入hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1
  4. 按步骤一路执行,识别硬盘开始安装

安装重启修复引导

  1. 加载RHEL 7.1的ISO镜像引导至安装画面
  2. 选择Trubleshooting→Rescue a Red Hat Enterprise Linux system
  3. 按一下Tab,在quiet后空格加入hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1
  4. 按步骤一路执行,识别硬盘挂载系统分区至/mnt/sysimage
  5. 手动修改/boot/grub2/grub.cfg,重启后进入系统
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
chroot /mnt/sysimage
cd /boot/grub2/
cp grub.cfg grub.cfg.bak

vi grub.cfg
#在启动菜单处quiet空格加入参数,注意有两处请仔细甄别
quiet hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1

#保存退出重启
:x
exit
init 6

#重启后卡住
可以尝试第二个rescue启动项试试

CentOS 7

CentOS 7 and older HP RAID controllers - http://jordanappleson.co.uk/linux/2014/09/18/centos-7-and-hp-raid-drivers/

文章目录
  1. 1. 前言
  2. 2. 更新记录
  3. 3. Problem
  4. 4. RHEL 7
    1. 4.1. 第一次安装
    2. 4.2. 安装重启修复引导
  5. 5. CentOS 7