Computer data storage - RAID - LSI notes
Computer data storage |
LSI have different ranges of RAID hardware. Keep in mind that different drivers and tools may apply.
For example
- Fusion-MPT is an el cheapo, RAID0 and RAID1 only motherbord chip, e.g. useful to mirror your system disk, but not much else
- MegaRAID is the few-hundred-dollor, moderately fancy'n'fast plugin card kind
The chips sound similar. For example, the latest Megaraid I saw was based on the LSI 2208, the Fusion an LSI 2308.
Megaraid notes
Megacli notes
Needs to be run as root.
For me, it failed silently even when I did - which turned out to be a version problem. You probably want to download the latest MegaCli
If you get
MegaCli: error while loading shared libraries: libncurses.so.5: cannot open shared object file
Then you're probably on a 64-bit (or mixed) system and want to use MegaCli64 instead (or install lib32ncurses5(verify))
Silence active alarm: (I like my ears and concentration)
MegaCli64 -AdpSetProp AlarmSilence -aALL
Specifying things:
- -Lx refers to virtual device x
- --PhysDrv [E:S] refers to
- E is enclosure number, S is slot number.
- If you have multiple enclosures, then MegaCli64 -EncInfo -aALL may be nice
- ...but in general, both enclosure and slot are listed in things like MegaCli64 -LDInfo -Lall -aALL
Overview:
# encosure info: MegaCli64 -EncInfo -aALL # adapter info & general settings MegaCli64 -AdpAllInfo -aALL # LD/virtual device list: MegaCli64 -LDInfo -Lall -aALL # PD/physical device list MegaCli64 -PDList -aALL | less
# (there's also an overview of both:) MegaCli64 -CfgDsply -aALL
Drive management
See also:
- http://erikimh.com/megacli-cheatsheet/
- more complete manual: mr_sas_sw_ug.pdf
- https://wiki.inf.ed.ac.uk/DICE/MPUFailedDisk
MegaRAID BIOS notes
To enter this graphical interface, press Ctrl-H when it mentions that you can.
If it's beeping and you like your sanity, first go to Controller properties and find the "Alarm Control" dropdown (in the third page, so press Next twice first), find "Silence" (not Disable!), and click the Submit button.