Bug#560432: turn on enclosure LEDs when a component device fails

martin f krafft madduck at debian.org
Fri Dec 11 08:54:07 UTC 2009


also sprach Robert Edmonds <edmonds at debian.org> [2009.12.11.0751 +0100]:
> according to http://lkml.org/lkml/2008/2/3/193,
> 
>     "You can flash the various blinky lights by echoing to the fault and
>     locate files."
> 
> my SAS/SES-2 based array appears to support this:
> 
>     .../sys/block/sda/device/enclosure_device:000$ grep . *
>     active:0
>     fault:0
>     locate:0
>     status:OK
>     type:array device
> 
> it would be nice if mdadm could automatically turn on the fault light of
> an underlying block device when a component device fails.

That's too specific a feature for mdadm I feel. However, you can
define a hook with the PROGRAM directive in mdadm.conf.

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20091211/47ef5abe/attachment.pgp>


More information about the pkg-mdadm-devel mailing list