= LSI MegaRAID = [[Image(wiki:LSI:logo_lsi.gif)]] [[BR]][[BR]] = 1. Card information = MegaRAID is the legacy high-end RAID controllers series by LSI. [[BR]]It is fully hardware RAIDs controllers supporting RAID5, at least, with various SCSI interfaces. [[BR]]If you're a looking for information about MegaRAID with SAS or SATA connectors, please look at [wiki:LSIMegaRAIDSAS] instead. All theses card can be used with stock Linux kernel which includes a '''working driver'''. Both '''opensource reporting''' [[BR]]tool and '''proprietary management''' utilities exists. Even there are old and deprecated, theses cards are a '''good choice''' for Linux, because of their '''great support'''. [[BR]] = 2. Linux kernel drivers = || Driver || Supported cards || || megaraid_mm & megaraid_mbox || LSI MegaRAID || ''megaraid_mm'' and ''megaraid_mbox'' have been part of the mainstream Linux kernel for a while and should be '''available''' in all '''current Linux distributions'''. If your card use ''megaraid_sas'' driver, please lookg at [wiki:LSIMegaRAIDSAS] instead. Some ''lspci -nn' output examples: * 02:0e.0 RAID bus controller ![0104]: Dell !PowerEdge Expandable RAID controller 4 ![1028:0013] (rev 06) * 04:03.0 RAID bus controller ![0104]: Dell !PowerEdge Expandable RAID controller 4/Di ![1028:000f] (rev 02) [[BR]] = 3. Management and reporting tools = As theses cards a rather old, many tools exists to monitor and manage them. [[BR]] The first one is an '''opensource''' tool named '''megactl''' which can be used to report controller and disks status. For the '''management''' side, you can you '''megamgr''', which is a '''proprietary''' utility from LSI. [[BR]]It '''emulates the controller BIOS''' from Linux, which is really nice. However, it cannot be used to script some actions. [[BR]]That's why you need megactl for periodic health checks. A Dell specific megamgr is also available. It's called '''dellmgr'''. [[BR]]Despites both megamgr and dellmgr seems to work on Dell megaraid-based RAID cards, I would advice you to use dellmgr on Dell hardware. A wrapper script with periodics checks is available in the packages repository too. Its name is '''megaraid-status'''. [[BR]]The packages comes with a python wrapper around megactl and an initscript that '''periodic''' run this wrapper to '''check status'''. [[BR]]It keeps a file with latest status and thus is able to detect RAID '''status changes and/or brokeness'''. [[BR]]It will log a ligne to '''syslog''' when something failed and will send you a '''mail'''. [[BR]]Until arrays are healthy again a '''reminder''' will be sent each 2 hours. and an initscript that daemonize script and does reporting through syslog and by mail.