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

Sun Jan 23 23:07:58 UTC 2011
Kwan Lowe <kwan.lowe at gmail.com>

On Sun, Jan 23, 2011 at 2:39 PM, Rudi Ahlers <Rudi at softdux.com> wrote:

>>
>> This page might help:
>> http://pikawarp.org/?p=139
>>
>>
>> Talks about setting entries in /sys/class/leds.
>
>
> That's exactly what I want todo, but with drive cage LED's. Most hot
> swap drive cages have 2 LED's, so I need a more universal approach,
> i.e. irrespective of whether it's SuperMicro, Intel, HP, etc.
>
>
> The page you suggested is very specific to the WARP devices, and by
> the looks of it they have a script that runs in those folders, which
> in turn interacts with the drive's circuitry.
>
> but, I have yet to find a solution for generic Linux.

The actual process is similar on other devices.. If they have support
it will show up in /sys/class/leds and you can enable them the same
way.