LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-10-2009, 05:15 AM   #1
exactiv
Member
 
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 43

Rep: Reputation: 15
Question RAID array not detected - new HP ML150G6 Server - SOLVED


THIS ISSUE HAS BEEN SOLVED

Hi there,

First off, here's the setup:

HP ML150 G6 Server
2x 250Gb SATA Drives in RAID 1+0
HP Smart Array B110i
CentOS 5.3

Problem: CentOS installer doesn't detect the SATA RAID array.

Description:
When I boot using the CentOS 5.3 CD it detects two drives, rather than the RAID array. According to the HP website the ML150-G6 is compatible with RHEL 5 (upon which CentOS is based).

I'm pretty new to Linux. In the past, when installing Windows based operating systems, you are presented with an option to use an additional storage driver.

My question: is it possible to use an additional storage driver when installing CentOS 5.3? and... if so, how?


Any help appreciated.

-ex

Last edited by exactiv; 07-14-2009 at 06:57 AM. Reason: Solved
 
Old 07-12-2009, 02:08 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,502

Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Nobody seems to be saying much so I will have a go.

I presume you have root. Try this command
dmesg |less

and you can see what happened this boot. The general place for logs is
/var/log/messages and you can read that with less or suchlike. Also try

lspci -v |less

and post the bit about the raid controller. Try typing
'hp raid b110i' into google, and look at what comes up. On the first page is driver source code and a HP pdf about the thing. You really don't need to ask us

When something is not recognized, it's usually wrong/no driver or kernel module
 
Old 07-12-2009, 09:05 PM   #3
aquarius2002
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 1
Hello everybody.
The recently set up this same server and was faced with the same problem. Solved it this way:
In order to install correctly initialize an array you need to download from HP website "Driver diskette for HP Smart Array B110i SATA RAID Controller (AMD64/EM64T) for Red Hat Enterprise Linux 5 (AMD64/EM64T)", if it is not done, the Installer sees 4 disks instead of two RAID1.

Next you need write the image to a USB flash disk:

dd if=hpahcisr-1.2.1-3.rhel5.x86_64.dd.gz of=/dev/sdb (change to your device)

Booting from the installation DVD or USB flash (on my server there was no DVD-ROM), run the installer with the parameter
boot: linux dd

After loading the kernel the installer will ask whether you have driverdisk and asked to indicate which drive. After the final boot the installation she began to see my RAID1 partitions:

Vendor: HP Model: LOGICAL VOLUME Rev: 0.00

Then install the system.

Read hpahcisr-1.2.1-3.rhel5.x86_64.dd.gz.txt and do what they recommend:

Once the OS is installed but before clicking the reboot button do the following.
Failure to do so will cause the system to panic and not boot.
1. press CTRL+ALT+F2
2. cp -a /tmp/ramfs/DD-0 /mnt/sysimage/tmp
3. chroot /mnt/sysimage
4. cd /tmp/DD-0
5. sh ./fix_driver_order
6. cd /
7. press CTRL+ALT+F6 and click reboot


This is a working system in dmesg:

hpahcisr0: Waiting for Init to complete....
scsi0 : hpahcisr
hpahcisr0: Controller found[type=12]
hpahcisr0: Disk found[type=0]
hpahcisr0: Disk found[type=0]
hpahcisr0: Device changes detected.
Vendor: HP Model: B110i Rev: 1.15
Type: RAID ANSI SCSI revision: 00
Vendor: HP Model: LOGICAL VOLUME Rev: 0.00
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 488327805 512-byte hdwr sectors (250024 MB)
sda: Write Protect is off
sda: Mode Sense: 6b 00 00 08
SCSI device sda: drive cache: none
SCSI device sda: 488327805 512-byte hdwr sectors (250024 MB)
sda: Write Protect is off
sda: Mode Sense: 6b 00 00 08
SCSI device sda: drive cache: none
sda: sda1 sda2 sda3 sda4
sd 0:0:1:0: Attached scsi disk sda
Vendor: HP Model: LOGICAL VOLUME Rev: 0.00
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdb: 1465083632 512-byte hdwr sectors (750123 MB)
sdb: Write Protect is off
sdb: Mode Sense: 6b 00 00 08
SCSI device sdb: drive cache: none
SCSI device sdb: 1465083632 512-byte hdwr sectors (750123 MB)
sdb: Write Protect is off
sdb: Mode Sense: 6b 00 00 08
SCSI device sdb: drive cache: none
sdb: sdb1 sdb2 sdb3
sd 0:0:2:0: Attached scsi disk sdb
hpahcisr0: init completed.


Good luck

Last edited by aquarius2002; 07-12-2009 at 11:09 PM.
 
Old 07-13-2009, 03:30 AM   #4
exactiv
Member
 
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 43

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks business kid, but my problem is as described by aquarius2002. I can't get it to work for a fresh install.

@ aquarius2002 - thanks for that. I'll try that and let you know how I get on :-)

Last edited by exactiv; 07-13-2009 at 03:42 AM.
 
Old 07-13-2009, 10:08 AM   #5
exactiv
Member
 
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 43

Original Poster
Rep: Reputation: 15
@aquarius2002

I've followed your instructions, but I'm running into trouble when I select the flash-drive with the drivers. It gives me a list of files, but selecting any of them tells me: Failed to load driver disk from file

I've attached the selection screen as an image.

Any ideas?
Attached Images
File Type: jpg 13072009.jpg (167.0 KB, 97 views)
 
Old 07-13-2009, 08:43 PM   #6
aquarius2002
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 1
You write image to device
dd if=hpahcisr-1.2.1-3.rhel5.x86_64.dd.gz of=/dev/sdb
or on partition
dd if=hpahcisr-1.2.1-3.rhel5.x86_64.dd.gz of=/dev/sdb1?

You need to write to the device and not on the partition.
 
Old 07-14-2009, 03:24 AM   #7
exactiv
Member
 
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks. I was writing to the partition. Changed it to /dev/sdb and it worked perfectly.
 
Old 07-14-2009, 04:46 AM   #8
exactiv
Member
 
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 43

Original Poster
Rep: Reputation: 15
Ok, the system installed perfectly. I followed your instructions before I hit reboot. However, once I remove the flash drive from the USB port, GRUB just hangs, and the system doesn't boot.

I presume there is a path to the driver that needs to be modified, but I have no idea where to look.

Any ideas?
 
Old 07-14-2009, 05:48 AM   #9
exactiv
Member
 
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 43

Original Poster
Rep: Reputation: 15
Talking

Ok, got it sorted. I needed to edit a two files in the /boot/grub directory

device.map & grub.conf

device.map was as follows:
Code:
# this device map was generated by anaconda
(hd1)   /dev/sda
(hd0)   /dev/sdb
I changed it to:
Code:
# this device map was generated by anaconda
(hd0)   /dev/sda
(hd1)   /dev/sdb
I then made two modifications to grub.conf
Old:
Code:
splashimage=(hd1,0)/grub/splash.xpm.gz
            
            root (hd1,0)
New:
Code:
splashimage=(hd0,0)/grub/splash.xpm.gz
            
            root (hd0,0)
Thanks for your help. Really appreciate it.
 
Old 07-14-2009, 09:09 PM   #10
aquarius2002
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 1
Now you can download the HP System Management Homepage (hpsmh-3.0.1-73.x86_64.rpm) and HP Array Configuration Utility (ACU) (cpqacuxe-8.28-13.0.noarch.rpm) monitor and manage an array of remotely
Attached Images
File Type: png acu.png (141.5 KB, 64 views)
 
Old 08-22-2009, 04:24 AM   #11
ge2000
LQ Newbie
 
Registered: Aug 2009
Location: 52N - 5.5E
Distribution: CentOS & Ubuntu
Posts: 11

Rep: Reputation: 0
As a newbie I followed the above procedure with great success on a ML330 with B110i and CentOS.

Everything worked fine until I did a yum update of the system. After the updat the system sees only the individual devices and the logical volumes are lost again.

Does anyone has an idea how to overcome this problem?

Thanks,
Ge
 
Old 08-26-2009, 01:09 AM   #12
AeKhuban
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
HP ML150 G E5520 HP SAS/SATA HPM AP Server

HP Smart Array P410 controller w/ 256mb cache RAID Controller
(RAID 0/1/1+0/5/5+0)
According to program maker, Devian do not support G6 built in RAID

Is that procedure can be apply on a Devian OS using the server stated above? Thanks
 
Old 08-27-2009, 10:15 AM   #13
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,777

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by AeKhuban View Post
HP Smart Array P410 controller w/ 256mb cache RAID Controller
(RAID 0/1/1+0/5/5+0)
According to program maker, Devian do not support G6 built in RAID

Is that procedure can be apply on a Devian OS using the server stated above? Thanks
It's DEBIAN, not Devian....and chances are, it will. Try it.

Also, please don't post the same question twice, in different forums, and especially don't hijack someone elses thread.
 
Old 08-28-2009, 01:05 AM   #14
AeKhuban
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
It's DEBIAN, not Devian....and chances are, it will. Try it.

Also, please don't post the same question twice, in different forums, and especially don't hijack someone elses thread.
Thanks for your reply. It helps a lot
 
Old 11-13-2009, 09:22 AM   #15
snike555
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Hi,
I have DL160 G6 with HP Smart Array B110i
i create RAID 1+0 (4x160 Gb SATA HDD) through raid controller utility

when installation must began to see my RAID1+0 partition?

Quote:
Originally Posted by aquarius2002 View Post
After loading the kernel the installer will ask whether you have driverdisk and asked to indicate which drive.
Ok, i insert floppy, choose sda (USB FDD), then she said that no device found and show me 3 buttons:
"Choose manualy", "Continue", "Choose another driverdisk"

If i select driver manualy "Update HP ...Raid... (hpahcisr)"
and back to installation, to step when i must select device to install OS, there is no device found

Quote:
Originally Posted by aquarius2002 View Post
Then install the system.
where?

Please, help
 
  


Reply

Tags
array, centos5, driver, grub, hang, hp, kernel, raid, smart, storage


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing SUSE Linux Enterprise Server 10 on RAID 10 Array linux_linux Linux - Newbie 2 03-15-2008 08:52 PM
Can Intel SCSI RAID controller See Existing Disk Array in another Server? Runge_Kutta Linux - Server 3 08-18-2007 04:04 PM
[Debian] PDC20276 array not detected? oDii Linux - Hardware 1 07-18-2007 07:07 PM
DL360 RHE 3 Smart Array 6i not detected dxrmc0 Red Hat 1 02-06-2006 07:14 PM
CentOS 4.2 sees both disks in RAID array on IBM x346 server SupaDucta Linux - Hardware 0 02-06-2006 02:15 AM


All times are GMT -5. The time now is 02:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration