[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1734
  • Last Modified:

Centos 5.2 on HP DL320 G5p RAID issue

I am unsuccessful at installing Centos 5.2 on an HP DL320 G5p.  I believe it is RAID related.

If i disable RAID, I can install without any problem.  When I enable hardware RAID, the install sees the RAID 1 array and installs on it.  When I reboot, it is stuck a grub>  

Any recommends?  Do I need to install a RAID controller driver?  There is a RH driver on HP's site, but it is a dd floppy image.  This server doesn't have a floppy drive.  I thought about creating the floppy and copy the files to a CD.  However, once the install has started, the system will not let me eject the CD.  

Recommendations?
0
magnusthorne
Asked:
magnusthorne
  • 8
  • 7
1 Solution
 
fosiul01Commented:
how many scsi hardrive you got ??

what i am thinking is : your raid setup is not correct, so when you are installing OS with hardware raid, then its unable to find the boot loader which should be in first hardrive location , thats why is stuck in grub

so install raid controller driver. then configured your raid properly then  install OS

for HP , there should be a smart disk for your server. boot the server with smart disk, then configure raid then try to install os

0
 
magnusthorneAuthor Commented:
Two SATA 160 drives.   I tried using the smart disk.  It doesn't see the drive array when the array is configured for RAID 1.  I called HP and they said that was expected, which didn't make any sense.  Also, I made sure the array is bootable.  Configuring through the smart disk only sends me back to the BIOS where I don't see anything wron.g
0
 
fosiul01Commented:
ommm I never used Raid 1, i have used Raid 3 and 5, if you use Raid 1 then its same concept as you are using 2 seperate harddrive is not it ?? ( it will not give you any redundancy)Raid 1 would not give you any advantage as raid as raid 3 or raid 5.

so... you better install OS without hardware raid,

does it make sense ??
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
magnusthorneAuthor Commented:
I need RAID 1 in case of a hard drive failure.
0
 
fosiul01Commented:
sorry, i always do this mistake with raid 0 and raid 1
yes, raid 1 will give save you from hardisk fails

did not you asked hp, if that one is expected then how will you configure your raid controller for raid 1  ??
0
 
magnusthorneAuthor Commented:
I called HP. They don't support Centos, so I didn't get any help.  
0
 
magnusthorneAuthor Commented:
My friend recommended:  "you might try booting rescue mode from the DVD and then manually mounting the drive, from there you can vi the grub menu file to make sure the drive letters are right, then I think it's grub-install to apply changes".  

I'm not a grub expert, but I will try that tomorrow.
0
 
fosiul01Commented:
yes, that what i said before , naturally boot loader install at first hardrive , for ide its hd0,0

may be in your case, after boot its unable to find the the first harddrive so its stuck


let me know if you need any help to mount hardrive at rescue mood
0
 
magnusthorneAuthor Commented:
IDE is hd0,0.  SATA is sd0,0, correct?
0
 
fosiul01Commented:
yes, it would be root(sd0,0) you should be able to see by pressing p or e  ( if you want to edit grub)

or you would be able to see its /boot/grupb/group.conf


0
 
magnusthorneAuthor Commented:
Thanks.  I will try tomorrow.  I'm off to vote.
0
 
fosiul01Commented:
hahahaah, who will win ?? any idea ?? i am from Uk
0
 
magnusthorneAuthor Commented:
Obama will win.  I'm sure of it.
0
 
fosiul01Commented:
hope so, let see.
0
 
joolsCommented:
Is it the usual smart array type controller?
Did you use smartstart to prep the system or did you press F8, what is your raid setup? Have you assigned the raid controller as the boot device?

Does the model you have use SAS or SCSI drives? Just interested?

Are all your devices /dev/cciss devices? Do you have any /dev/sd devices?

Usually the raid controller will just present one disk to the O/S or whatever your raid configuration is. When you install are you seeing this in the install screens correctly.

From the grub menu, can you see the OS and boot manually?
(you will need to complete the ... yourself...

NOTE!! All grub devices are hd! this is not what you think!

grub> root(hd0,<tab> should list all available partitions, select the right one where your kernel is!)
grub> kernel /boot/vmlinuz...
grub> initrd /boot/initrd...

or if your boot is a separate partition.
grub> kernel /vmlinuz...
grub> initrd /initrd...
0
 
magnusthorneAuthor Commented:
problem solved.  I rebuild the RAID1 and when I was looking at the hard drive configuration, I noticed the following:

/dev/mapper/ddf1_disk array

I had named the array "disk array".  I rebuilt the array and the named it "array".  System works perfectly now.   Thanks for all the help.

0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 8
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now