On Sun, Jan 23, 2011 at 8:20 PM, Kwan Lowe <kwan.lowe@xxxxxxxxx> wrote: > On Sat, Jan 22, 2011 at 5:03 PM, Rudi Ahlers <Rudi@xxxxxxxxxxx> 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. >> >> -- > > 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. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos