前言
針對(duì)老的硬件安裝新的操作系統(tǒng)虎敦,無(wú)論是Windows還是Linux很多時(shí)候都會(huì)遇到無(wú)法識(shí)別磁盤陣列卡的情況,一般情況下通過(guò)dd加載官方或者老版本ISO中的驅(qū)動(dòng)識(shí)別RAID陣列卡即可,但這次遇到的HP DL580比較特別升略,需要修改引導(dǎo)參數(shù)來(lái)解決衷蜓,詳細(xì)原因可以參考擴(kuò)展閱讀。本文主要以在HP DL580上部署RHEL 7為例判呕,靈感來(lái)源于國(guó)外的一篇文章Installing CentOS 7 on older HP ProLiants倦踢,在此表示由衷的感謝。
使用hpsa.hpsa_allow_any=1忽略控制器檢測(cè)識(shí)別磁盤陣列
更新記錄
2015年12月03日 - 初稿
閱讀原文 - http://wsgzao.github.io/post/cciss/
擴(kuò)展閱讀
- 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鏡像引導(dǎo)至安裝畫面
- 選擇
Install Red Hat Enterprise Linux 7.1
- 按一下
Tab
侠草,在quiet后空格加入quiet hpsa.hpsa_allow_any=1
- 按步驟一路執(zhí)行辱挥,識(shí)別硬盤開(kāi)始安裝
安裝重啟修復(fù)引導(dǎo)
- 加載RHEL 7.1的ISO鏡像引導(dǎo)至安裝畫面
- 選擇
Trubleshooting→Rescue a Red Hat Enterprise Linux system
- 按一下
Tab
,在quiet后空格加入quiet hpsa.hpsa_allow_any=1
- 按步驟一路執(zhí)行边涕,識(shí)別硬盤掛載系統(tǒng)分區(qū)至
/mnt/sysimage
- 手動(dòng)修改
/boot/grub2/grub.cfg
晤碘,重啟后進(jìn)入系統(tǒng)
chroot /mnt/sysimage
cd /boot/grub2/grub.cfg
cp grub.cfg grub.cfg.bak
vi grub.cfg
#在啟動(dòng)菜單處quiet空格加入?yún)?shù)
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/