November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Centos7 on an HP G5 DL380

Starting with RHEL/EL7 the drivers for the raid controller card, the P400i, are no longer loaded in by default. When you go to install Centos 7 on one of these you will likely see that it doesn’t detect your LD.

When you boot up and go into the install, press tab to get to your install options. From here append hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1 to your boot options.

The install should now pick up on your LD and you should be able to install as normal. After you reboot however you’ll have to make this more permanent. At the grub screen press e to get back to your boot options. From here appendhpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1 again so that you can get into the machine.

Once you’re logged in open up /etc/default/grub and add these options to the file. The file should now look something like:

GRUB_TIMEOUT=5
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap crashkernel=auto rhgb quiet hpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1"
GRUB_DISABLE_RECOVERY="true"

Now run grub2-mkconfig -o /boot/grub2/grub.cfg and reboot the machine. It should be detected from now on each time you boot.

Success!
note: hpssacli installed separately

[root@localhost ~]# hpssacli ctrl all show config


Smart Array P400 in Slot 1                (sn: P61620E9SV69YJ)


   Port Name: 1I

   Port Name: 2I

   Internal Drive Cage at Port 1I, Box 1, OK

   Internal Drive Cage at Port 2I, Box 1, OK
   array A (SAS, Unused Space: 0  MB)


      logicaldrive 1 (546.8 GB, RAID 6, OK)

      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SAS, 146 GB, OK)
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SAS, 146 GB, OK)
      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)
      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)
      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 146 GB, OK)
      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 146 GB, OK)



Installing RHEL 7 or CentOS 7 on older HP RAID controllers

For older hardware installed a new operating system, either Windows or Linux will encounter very often does not recognize the disk array card case, under normal circumstances loaded official or older ISO driving identification card to the RAID array through dd, but HP DL580 encountered this rather special, you need to modify the boot parameters to resolve, you can refer to the detailed reasons for extended reading. In this paper, in order to deploy RHEL 7 on HP DL580, for example, was inspired by an overseas article Installing CentOS 7 on older HP ProLiants, to express my sincere thanks.

Use hpsa.hpsa_allow_any = 1 ignore the detection and recognition of a disk array controller

 

First installation

  1. RHEL 7.1 loaded ISO image to boot installation screen
  2. selectInstall Red Hat Enterprise Linux 7.1
  3. Click Tab, in the quiet space addedhpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1
  4. Step by step all the way to execution, to identify the drive to start the installation

Installation restart repair guide

  1. RHEL 7.1 loaded ISO image to boot installation screen
  2. selectTrubleshooting?Rescue a Red Hat Enterprise Linux system
  3. Click Tab, in the quiet space addedhpsa.hpsa_simple_mode=1 hpsa.hpsa_allow_any=1
  4. Step by step all the way to execution, to recognize the hard disk partition mount system/mnt/sysimage
  5. Manually modify /boot/grub2/grub.cfg, reboot into the system
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
chroot /mnt/sysimage
cd /boot/grub2/
cp grub.cfg grub.cfg.bak

grub.cfg VI 
# quiet office space was added in the boot menu parameters, please note that there are two carefully screened
 quiet hpsa.hpsa_simple_mode = 1 hpsa.hpsa_allow_any = 1

# Save and exit reboot
 : X 
Exit
 the init . 6

# After restarting stuck
 you can try the second rescue startup items to try
 

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>