Link to home
Start Free TrialLog in
Avatar of magnusthorne
magnusthorne

asked on

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?
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

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

Avatar of magnusthorne
magnusthorne

ASKER

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
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 ??
I need RAID 1 in case of a hard drive failure.
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  ??
I called HP. They don't support Centos, so I didn't get any help.  
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.
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
ASKER CERTIFIED SOLUTION
Avatar of magnusthorne
magnusthorne

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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


Thanks.  I will try tomorrow.  I'm off to vote.
hahahaah, who will win ?? any idea ?? i am from Uk
Obama will win.  I'm sure of it.
hope so, let see.
Avatar of Julian Parker
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...
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.