Bug 157638
| Summary: | Lost RAID status info in /proc/ when upgrading from RHEL 3 to 4 (megaraid_mbox) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Petter Reinholdtsen <pere> |
| Component: | kernel | Assignee: | Tom Coughlan <coughlan> |
| Status: | CLOSED CANTFIX | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | avhays, davej, john.l.villalovos, the.sysadmins, trondham, vanhoof |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-09-23 20:27:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Petter Reinholdtsen
2005-05-13 11:57:33 UTC
I notice this also in Fedora Core 3. Where can people get the megaraid card status from now? The lack of RAID status info make the machine dangerous to use. We get no warning when disks fail, and might end up with a complete disk crash if enough disks crash in the RAID set. Are there anyone working on addressing this issue? As you may know, there is a movement away from using /proc for this sort of
thing in the 2.6 kernel. It would be ideal if there were a commonly agreed upon
set of values that RAID devices report in sysfs. So far, unfortunately, I have
not seen any such proposals made upstream.
Currently it looks like your best bet is to get a monitoring utility from the
LSI Logic web page. The MegaRAID Configuration Utility (MEGARC), for example,
looks like it does what you want:
# ./megarc.bin -dispCfg -a0
**********************************************************************
MEGARC MegaRAID Configuration Utility(LINUX)-1.11(12-07-2004)
By LSI Logic Corp.,USA
**********************************************************************
[Note: For SATA-2, 4 and 6 channel controllers, please specify
Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)]
Type ? as command line arg for help
Finding Devices On Each MegaRAID Adapter...
Scanning Ha 0, Chnl 3 Target 15
**********************************************************************
Existing Logical Drive Information
By LSI Logic Corp.,USA
**********************************************************************
[Note: For SATA-2, 4 and 6 channel controllers, please specify
Ch=0 Id=0..15 for specifying physical drive(Ch=channel, Id=Target)]
Logical Drive : 0( Adapter: 0 ): Status: OPTIMAL
---------------------------------------------------
SpanDepth :01 RaidLevel: 5 RdAhead : No Cache: DirectIo
StripSz :064KB Stripes : 4 WrPolicy: WriteThru
Logical Drive 0 : SpanLevel_0 Disks
Chnl Target StartBlock Blocks Physical Target Status
---- ------ ---------- ------ ----------------------
3 00 0x00000000 0x010f1800 ONLINE
3 01 0x00000000 0x010f1800 ONLINE
3 03 0x00000000 0x010f1800 ONLINE
3 04 0x00000000 0x010f1800 ONLINE
Why couldnt you put it back in /proc until a better solution is ready, instead of removing an essential feature (to me) in the absence of a better solution? The MegaRAID Configuration Utility solution (or something like it from LSI Logic) does not work for you? I run scripts to check RAID status. If it's possible to use the Configuration Utility easily from a script it would be fine. The /proc interface was very convenient (with the eXtremeRAID driver, I could also initiate commands such as 'rebuild'). As Redhat AS 4 comes now, there is no way to monitor or manage megaraid included. Perhaps this is normal, and one should expect to add on something like MegaRC or Dell's Openmanage? The vendor programs I've seen to extract RAID status have had issues when used from scripts, and I have never found a satisfying solution using them. This is why I prefer to have a text file in /proc/ or /sys/ instead. When such information isn't available in /proc/ or /sys/, I recommend to not use the hardware raid in question. It is sad to have to recommend against using Dell PowerEdge 2850 with RHEL 4, when it worked just fine with RHEL 3. :/ People following this bug might find the information available from <URL: http://developer.skolelinux.no/info/prosjektet/delprosjekt/hw-raid-info.html > interesting. It is a summary of some of the features in hardware raids on linux. |