* [gentoo-user] LiveCD installation not recognizing megaraid RAID set
@ 2009-07-27 8:45 Ho-Ki Au
2009-07-27 9:07 ` Neil Bothwick
2009-07-27 10:46 ` Carlos
0 siblings, 2 replies; 4+ messages in thread
From: Ho-Ki Au @ 2009-07-27 8:45 UTC (permalink / raw
To: gentoo-installer, gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2285 bytes --]
I was trying to put gentoo on a dell poweredge 1950 quadcore xeon machine
with three disks connected to a lsi PERC 5/i raid controller. In the BIOS
settings, all three disks were added to the controller for a RAID5 set up.
When I boot from LiveCD (2008 version with 2.6.24-r5 kernel) with
dmraid='-ay' option, it came up not recognizing the RAID set, as I only saw
"control" under /dev/mapper. modprobe megaraid was okay, so was modprobe
raid5. Under /dev, I only saw sda, but there was no sdb, sdc. So it looked
like there was only one disk but the system did not recognize it as a raid
set. Booting from LiveCD with dmraid='-ay' doscsi didn't help. I got the
same result. If I did a dmraid -ay in bash, I got "No RAID disks". Could
anyone point me to some instructions on how to make Gentoo recognize the
PERC 5/i RAID controller?
I tried both 32bit and 64bit gentoo and results were the same.
lspci showed:
02:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller 5
dmesg showed:
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
megasas: 00.00.03.10-rc5 Thu May 17 10:09:32 PDT 2007
megasas: 0x1028:0x0015:0x1028:0x1f03: bus 2:slot 14:func 0
ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 78 (level, low) -> IRQ 17
megasas: FW now in Ready state
scsi4 : LSI Logic SAS based MegaRAID driver
scsi 4:0:0:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
scsi 4:0:1:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
scsi 4:0:2:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
QLogic Fibre Channel HBA Driver
scsi 4:0:8:0: Enclosure DP BACKPLANE 1.05 PQ: 0 ANSI: 5
scsi 4:2:0:0: Direct-Access DELL PERC 5/i 1.03 PQ: 0 ANSI: 5
scsi 4:0:8:0: Attached scsi generic sg1 type 13
sd 4:2:0:0: [sda] 284164096 512-byte hardware sectors (145492 MB)
sd 4:2:0:0: [sda] Write Protect is off
sd 4:2:0:0: [sda] Mode Sense: 1f 00 10 08
sd 4:2:0:0: [sda] Write cache: disabled, read cache: disabled, supports DPO
and FUA
sd 4:2:0:0: [sda] 284164096 512-byte hardware sectors (145492 MB)
sd 4:2:0:0: [sda] Write Protect is off
sd 4:2:0:0: [sda] Mode Sense: 1f 00 10 08
Thanks very much for your help!
--
-hoki
[-- Attachment #2: Type: text/html, Size: 2596 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] LiveCD installation not recognizing megaraid RAID set
2009-07-27 8:45 [gentoo-user] LiveCD installation not recognizing megaraid RAID set Ho-Ki Au
@ 2009-07-27 9:07 ` Neil Bothwick
2009-07-27 10:46 ` Carlos
1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2009-07-27 9:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
On Mon, 27 Jul 2009 16:45:28 +0800, Ho-Ki Au wrote:
> I was trying to put gentoo on a dell poweredge 1950 quadcore xeon
> machine with three disks connected to a lsi PERC 5/i raid controller.
> In the BIOS settings, all three disks were added to the controller for
> a RAID5 set up. When I boot from LiveCD (2008 version with 2.6.24-r5
> kernel) with dmraid='-ay' option, it came up not recognizing the RAID
> set,
dmraid is for software RAID. If you have a hardware RAID controller,
you should just see the single device presented by the controller, not the
three individual disks.
--
Neil Bothwick
If the pen is mightier than the sword, and a picture is worth a thousand
words, how dangerous is a fax?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] LiveCD installation not recognizing megaraid RAID set
2009-07-27 8:45 [gentoo-user] LiveCD installation not recognizing megaraid RAID set Ho-Ki Au
2009-07-27 9:07 ` Neil Bothwick
@ 2009-07-27 10:46 ` Carlos
2009-07-27 12:12 ` Stroller
1 sibling, 1 reply; 4+ messages in thread
From: Carlos @ 2009-07-27 10:46 UTC (permalink / raw
To: gentoo-user
Ho-Ki Au a écrit :
> I was trying to put gentoo on a dell poweredge 1950 quadcore xeon machine
> with three disks connected to a lsi PERC 5/i raid controller. In the BIOS
> settings, all three disks were added to the controller for a RAID5 set up.
> When I boot from LiveCD (2008 version with 2.6.24-r5 kernel) with
> dmraid='-ay' option, it came up not recognizing the RAID set, as I only saw
> "control" under /dev/mapper. modprobe megaraid was okay, so was modprobe
> raid5. Under /dev, I only saw sda, but there was no sdb, sdc. So it looked
> like there was only one disk but the system did not recognize it as a raid
> set. Booting from LiveCD with dmraid='-ay' doscsi didn't help. I got the
> same result. If I did a dmraid -ay in bash, I got "No RAID disks". Could
> anyone point me to some instructions on how to make Gentoo recognize the
> PERC 5/i RAID controller?
>
> I tried both 32bit and 64bit gentoo and results were the same.
>
> lspci showed:
> 02:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller 5
>
> dmesg showed:
> megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
> megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
> megasas: 00.00.03.10-rc5 Thu May 17 10:09:32 PDT 2007
> megasas: 0x1028:0x0015:0x1028:0x1f03: bus 2:slot 14:func 0
> ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 78 (level, low) -> IRQ 17
> megasas: FW now in Ready state
> scsi4 : LSI Logic SAS based MegaRAID driver
> scsi 4:0:0:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
> scsi 4:0:1:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
> scsi 4:0:2:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
> QLogic Fibre Channel HBA Driver
> scsi 4:0:8:0: Enclosure DP BACKPLANE 1.05 PQ: 0 ANSI: 5
> scsi 4:2:0:0: Direct-Access DELL PERC 5/i 1.03 PQ: 0 ANSI: 5
> scsi 4:0:8:0: Attached scsi generic sg1 type 13
> sd 4:2:0:0: [sda] 284164096 512-byte hardware sectors (145492 MB)
> sd 4:2:0:0: [sda] Write Protect is off
> sd 4:2:0:0: [sda] Mode Sense: 1f 00 10 08
> sd 4:2:0:0: [sda] Write cache: disabled, read cache: disabled, supports DPO
> and FUA
> sd 4:2:0:0: [sda] 284164096 512-byte hardware sectors (145492 MB)
> sd 4:2:0:0: [sda] Write Protect is off
> sd 4:2:0:0: [sda] Mode Sense: 1f 00 10 08
>
> Thanks very much for your help!
>
Your RAID set is being detected by the LiveCD. It looks as though you
have a RAID5 set using 3x72GB drives. This would be consistent with the
size of /dev/sda (144GB). Because it's hardware RAID, operating systems
don't usually access each individual disk but rather the disk set
presented by the controller.
As mentioned by Neil, dmraid is for software RAID management. If you
want to manage your RAID controller or disk sets from Linux, you'll have
to find management software capable of doing this. Try the server
manufacture's site or the RAID manufacture's web site to see if such
software exists.
Hope that helps,
Carlos
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] LiveCD installation not recognizing megaraid RAID set
2009-07-27 10:46 ` Carlos
@ 2009-07-27 12:12 ` Stroller
0 siblings, 0 replies; 4+ messages in thread
From: Stroller @ 2009-07-27 12:12 UTC (permalink / raw
To: gentoo-user
It took Carlos' reply for me to reread & make sense of the original
post.
On 27 Jul 2009, at 11:46, Carlos wrote:
> Ho-Ki Au a écrit :
>>
>> ... In the BIOS settings, all three disks were added to the
>> controller for a RAID5 set up. ... Under /dev, I only saw sda, but
>> there was no sdb, sdc. So it looked like there was only one disk
>> but the system did not recognize it as a raid set.
It looks like *not only* did you add them to the controller, but you
configured them as a single drive. Therefore this looks correct.
The whole point of RAID is that multiple disks should appear to the
host o/s as a single drive.
> As mentioned by Neil, dmraid is for software RAID management. If
> you want to manage your RAID controller or disk sets from Linux,
> you'll have to find management software capable of doing this. Try
> the server manufacture's site or the RAID manufacture's web site to
> see if such software exists.
A Google for "PERC5 Linux" reveals:
http://blog.gtuhl.com/2009/03/11/monitoring-dell-perc5-and-perc6-disks-in-arch-linux/
Then searching Portage:
$ eix sys-block/mega
* sys-block/megacli
Available versions: ~1.01.40!m!s!t ~2.00.15!m!s!t ~4.00.11!m!s!t
Homepage: http://www.lsi.com/
Description: LSI Logic MegaRAID Command Line Interface
management tool
* sys-block/megactl
Available versions: ~0.4.1
Homepage: http://sourceforge.net/projects/megactl/
Description: LSI MegaRAID control utility
* sys-block/megamgr
Available versions: ~5.20!m!s!t ~5.20-r1!m!s!t
Homepage: http://www.lsi.com
Description: LSI Logic MegaRAID Text User Interface
management tool
* sys-block/megarc
Available versions: ~1.11!m!s!t {doc}
Homepage: http://www.lsi.com
Description: LSI Logic MegaRAID Text User Interface
management tool
Found 4 matches.
$
Viewing the RAID using the correct LSI utility should show the
individual drives.
I use the tw_cli for my 3ware controller. This is how it it appears on
my system (the LSI utility will have a different name & syntax):
$ sudo tw_cli /c0/u1 show
Unit UnitType Status %RCmpl %V/I/M Port Stripe Size(GB)
------------------------------------------------------------------------
u1 RAID-5 OK - - - 64K 931.303
u1-0 DISK OK - - p4 - 465.651
u1-1 DISK OK - - p5 - 465.651
u1-2 DISK OK - - p6 - 465.651
$
Stroller.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-27 12:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 8:45 [gentoo-user] LiveCD installation not recognizing megaraid RAID set Ho-Ki Au
2009-07-27 9:07 ` Neil Bothwick
2009-07-27 10:46 ` Carlos
2009-07-27 12:12 ` Stroller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox