Gentoo Archives: gentoo-user

From: Carlos <skyclan@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LiveCD installation not recognizing megaraid RAID set
Date: Mon, 27 Jul 2009 10:44:57
Message-Id: 4A6D8572.8060300@gmx.net
In Reply to: [gentoo-user] LiveCD installation not recognizing megaraid RAID set by Ho-Ki Au
1 Ho-Ki Au a écrit :
2 > I was trying to put gentoo on a dell poweredge 1950 quadcore xeon machine
3 > with three disks connected to a lsi PERC 5/i raid controller. In the BIOS
4 > settings, all three disks were added to the controller for a RAID5 set up.
5 > When I boot from LiveCD (2008 version with 2.6.24-r5 kernel) with
6 > dmraid='-ay' option, it came up not recognizing the RAID set, as I only saw
7 > "control" under /dev/mapper. modprobe megaraid was okay, so was modprobe
8 > raid5. Under /dev, I only saw sda, but there was no sdb, sdc. So it looked
9 > like there was only one disk but the system did not recognize it as a raid
10 > set. Booting from LiveCD with dmraid='-ay' doscsi didn't help. I got the
11 > same result. If I did a dmraid -ay in bash, I got "No RAID disks". Could
12 > anyone point me to some instructions on how to make Gentoo recognize the
13 > PERC 5/i RAID controller?
14 >
15 > I tried both 32bit and 64bit gentoo and results were the same.
16 >
17 > lspci showed:
18 > 02:0e.0 RAID bus controller: Dell PowerEdge Expandable RAID controller 5
19 >
20 > dmesg showed:
21 > megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
22 > megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST 2006)
23 > megasas: 00.00.03.10-rc5 Thu May 17 10:09:32 PDT 2007
24 > megasas: 0x1028:0x0015:0x1028:0x1f03: bus 2:slot 14:func 0
25 > ACPI: PCI Interrupt 0000:02:0e.0[A] -> GSI 78 (level, low) -> IRQ 17
26 > megasas: FW now in Ready state
27 > scsi4 : LSI Logic SAS based MegaRAID driver
28 > scsi 4:0:0:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
29 > scsi 4:0:1:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
30 > scsi 4:0:2:0: Direct-Access SEAGATE ST973402SS S206 PQ: 0 ANSI: 5
31 > QLogic Fibre Channel HBA Driver
32 > scsi 4:0:8:0: Enclosure DP BACKPLANE 1.05 PQ: 0 ANSI: 5
33 > scsi 4:2:0:0: Direct-Access DELL PERC 5/i 1.03 PQ: 0 ANSI: 5
34 > scsi 4:0:8:0: Attached scsi generic sg1 type 13
35 > sd 4:2:0:0: [sda] 284164096 512-byte hardware sectors (145492 MB)
36 > sd 4:2:0:0: [sda] Write Protect is off
37 > sd 4:2:0:0: [sda] Mode Sense: 1f 00 10 08
38 > sd 4:2:0:0: [sda] Write cache: disabled, read cache: disabled, supports DPO
39 > and FUA
40 > sd 4:2:0:0: [sda] 284164096 512-byte hardware sectors (145492 MB)
41 > sd 4:2:0:0: [sda] Write Protect is off
42 > sd 4:2:0:0: [sda] Mode Sense: 1f 00 10 08
43 >
44 > Thanks very much for your help!
45 >
46
47 Your RAID set is being detected by the LiveCD. It looks as though you
48 have a RAID5 set using 3x72GB drives. This would be consistent with the
49 size of /dev/sda (144GB). Because it's hardware RAID, operating systems
50 don't usually access each individual disk but rather the disk set
51 presented by the controller.
52
53 As mentioned by Neil, dmraid is for software RAID management. If you
54 want to manage your RAID controller or disk sets from Linux, you'll have
55 to find management software capable of doing this. Try the server
56 manufacture's site or the RAID manufacture's web site to see if such
57 software exists.
58
59 Hope that helps,
60 Carlos

Replies

Subject Author
Re: [gentoo-user] LiveCD installation not recognizing megaraid RAID set Stroller <stroller@××××××××××××××××××.uk>