A HDD has just failed on a linux server (Red Hat Linux release 9) we support. Not a big problem since it's on a RAID (MegaRAID SCSI). We're now in the process of getting a new one to replace it. In the meanwhile, however, the server is constantly beeping and annoying the hell out of everyone there.
Since I have remote ssh access I was wondering if there was a way to get it to shut up, preferably via the command line, until we fix the problem.
Go to LSI's website and download the CLI tool for your RAID card. Depending on the driver you're using (the one from LSI or the default one in the kernel) you can do just about anything, including turning off the alarm.
or MegaCli -AdpSetProp AlarmSilence -a1 (depending on which slot is installed)
The beeping is off the RAID card, you will need to access the card to turn it off. I would check with your vendor to see if there are management utilities to do this, I know it can be done in Dell OpenManage so I would assume there is a utility out there to do this for other systems. Otherwise you'll need to reboot and go into the RAID bios to turn it off.
The man page suggests
megaraid -alarm -silence
is what you want.