[CentOS] how to control Hard Drive light from Linux?

Sun Jan 23 04:21:24 UTC 2011
Nico Kadel-Garcia <nkadel at gmail.com>

On Sat, Jan 22, 2011 at 5:03 PM, Rudi Ahlers <Rudi at softdux.com> wrote:
> Hi all,
>
> Does anyone know how to control a hard drive light from Linux? I'm
> building a 24bay Linux File server which will run software RAID and I
> need an easy way for the engineers to see which HDD has gone bad.
>
> Most of our NAS devices has 2 lights on the hard drive cages and they
> automatically signal a bad one (reg light, light constant on , etc)
> but I can't figure out how todo this from Linux.

That's because they have hardware RAID, with that built in at the
hardware itself, the drivers designed for that chassis, and the
management tools for it. Unpeeling that to say "make it work on
Linux!" would be unfair: we couldn't make a good guess without knowing
the actual *hardware* of your Linux File Server. And we can't even
guess what the available displays of your drive enclosure are.

Why are you doing this when a commercial solution with such featurs,
equipped with 1 TB drives, costs less than $10,000 with all these
goodies and the superior performance of hardware RAID thrown in?