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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
07-10-2009, 05:15 AM
|
#1
|
|
Member
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 34
Rep:
|
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
|
|
|
|
07-12-2009, 02:08 PM
|
#2
|
|
Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,295
|
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
|
|
|
|
07-12-2009, 09:05 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2009
Posts: 3
Rep:
|
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.
|
|
|
|
07-13-2009, 03:30 AM
|
#4
|
|
Member
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
|
07-13-2009, 10:08 AM
|
#5
|
|
Member
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 34
Original Poster
Rep:
|
@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?
|
|
|
|
07-13-2009, 08:43 PM
|
#6
|
|
LQ Newbie
Registered: Jul 2009
Posts: 3
Rep:
|
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.
|
|
|
|
07-14-2009, 03:24 AM
|
#7
|
|
Member
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 34
Original Poster
Rep:
|
Thanks. I was writing to the partition. Changed it to /dev/sdb and it worked perfectly.
|
|
|
|
07-14-2009, 04:46 AM
|
#8
|
|
Member
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 34
Original Poster
Rep:
|
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?
|
|
|
|
07-14-2009, 05:48 AM
|
#9
|
|
Member
Registered: Nov 2008
Location: Ireland
Distribution: *nix
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
|
07-14-2009, 09:09 PM
|
#10
|
|
LQ Newbie
Registered: Jul 2009
Posts: 3
Rep:
|
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
|
|
|
|
08-22-2009, 04:24 AM
|
#11
|
|
LQ Newbie
Registered: Aug 2009
Location: 52N - 5.5E
Distribution: CentOS & Ubuntu
Posts: 11
Rep:
|
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
|
|
|
|
08-26-2009, 01:09 AM
|
#12
|
|
LQ Newbie
Registered: Aug 2009
Posts: 4
Rep:
|
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
|
|
|
|
08-27-2009, 10:15 AM
|
#13
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,808
|
Quote:
Originally Posted by AeKhuban
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.
|
|
|
|
08-28-2009, 01:05 AM
|
#14
|
|
LQ Newbie
Registered: Aug 2009
Posts: 4
Rep:
|
Quote:
Originally Posted by TB0ne
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
|
|
|
|
11-13-2009, 09:22 AM
|
#15
|
|
LQ Newbie
Registered: Nov 2009
Posts: 1
Rep:
|
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
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
Then install the system.
|
where?
Please, help 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:16 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|