LSI megaRAID SAS alarm off

This is a reference to LSI MegaRAID SAS 9260-8i – saving me the wonder of remembering how to silence the alarm and admin the array.

Into the office first thing Monday morning, and above the distant white noise from the facility I can… we can all hear the beep beep beep of a RAID card. Enter my annoyance. As I work up a solution there is all the “what IS that noise?!” … “wow, I can barely think in there” … “why is there that noise” … and various other THIS IS WHAT I AM WORKING ON RIGHT NOW.

The failed drive has been replaced, and is clear from LED activity it is rebuilding. Rebooting the host, logging into the card BIOS (has a mouse and Windows ’98 graphics) and marking the alarm to silence and checking in on the rebuild progress is all good. Blessed silence from the alarm, and the advisory on quitting that I will need to reboot.

Reboot.

Alarm comes back on – apparently we are in a degraded state.

Repeat.

Okay there has been no error – it either needs to complete the rebuild to stop it – OR – it needs to have this silenced once the host has POST’ed up and running.

Here is the minor learning curve for an Ubuntu LTS host.

Lets be sure we are dealing with the right card first of all:

root@bork:~# lspci |grep LSI
04:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)

Now we know about this – there are a few things we will need from the provided repositories (handy, no alien required from “we support Linux” RPM only downloadable only binaries).

root@r1-customer:~# apt-cache search clisas
megacli – LSI Logic MegaRAID SAS MegaCLI
megaclisas-status – get RAID status out of LSI MegaRAID SAS HW RAID controllers

So lets start with the credits where credit due….

http://erikimh.com/megacli-cheatsheet/  is where I found the silence the alarm.

http://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS – is the full documentation for the application.

You will note that if you use megacli-status it will fail – and advise the megaclisas – which is why we have installed

Silence Alarm

Lets get your ears and sanity sorted first.

root@bork:~# megacli -AdpSetProp AlarmSilence -aALL

Adapter 0: Set alarm to Silenced success.
wrapper required.

Status of array

root@bork:~# megaclisas-status

— Controller information —
— ID | H/W Model | RAM | Temp | BBU | Firmware
c0 | LSI MegaRAID SAS 9260-8i | 512MB | N/A | Absent | FW: 12.9.0-0037

— Array information —
— ID | Type | Size | Strpsz | Flags | DskCache | Status | OS Path | CacheCade |InProgress
c0u0 | RAID-1 | 1.85G | 64 KB | ADRA,WT | Enabled | Optimal | /dev/sda | Type : Read Only |None
c0u1 | RAID-6 | 21826G | 64 KB | ADRA,WB | Enabled | Partially Degraded | /dev/sdb | Type : Read Only |None

— Disk information —
— ID | Type | Drive Model | Size | Status | Speed | Temp | Slot ID | LSI Device ID
c0u0p0 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:0] | 11
c0u0p1 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:1] | 12
c0u1p0 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:2] | 16
c0u1p1 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:3] | 17
c0u1p2 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:4] | 18
c0u1p3 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:5] | 19
c0u1p4 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:6] | 20
c0u1p5 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:7] | 21
c0u1p6 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:8] | 22
c0u1p7 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:9] | 23
c0u1p8 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:10] | 24
c0u1p9 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:11] | 25
c0u1p10 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Rebuilding (52%) | 6.0Gb/s | N/A | [13:12] | 26
c0u1p11 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:13] | 27
c0u1p12 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:14] | 14
c0u1p13 | HDD | W123ELYMST9999DM001-1CH164 CC24 | 1.818 TB | Online, Spun Up | 6.0Gb/s | N/A | [13:15] | 15

There is at least one disk/array in a NOT OPTIMAL state.
Show less

 

LSI Processor used in Dell PERC 7xx

This card – or the smarts therein are used by the DELL PERC730 (this case an R430).

Their guide can be found here:

https://www.dell.com/support/article/uk/en/ukbsdt1/sln292232/extracting-the-raid-controller-logs-via-megacli?lang=en

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this:
Skip to toolbar