Watch
1
0
Fork
You've already forked amarao_sdled
0
mirror of https://github.com/amarao/sdled synced 2026-12-01 00:03:26 +00:00
Control fault/locate indicators in disk slots in enclosures (SES devices)
  • Python 77%
  • Roff 23%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
George Shuklin 193a8cf354
Merge pull request #10 from sblanchet/support-aic-backplanes
Add two new commands fault_off and locate_off
2024-08-27 14:58:17 +03:00
debian Minor changes to debian/control 2015-07-21 20:25:49 +03:00
COPYING Add license 2013-12-06 00:17:03 +02:00
encled Add two new commands fault_off and locate_off 2024-08-27 10:11:25 +02:00
encled.8 fix typo in documentation 2024-08-27 10:10:34 +02:00
README fix typo in documentation 2024-08-27 10:10:34 +02:00
sdled fix typo in documentation 2024-08-27 10:10:34 +02:00

Encled - utility to change location / fault LED for enclosure.

I'm not sure if it works with every available enclosures, but at least it
works with Supermicro chases with SAS enclosures (LSI).

Encled heavily depends on linux kernel's /sys/class/enclosure

Previous name was sdled, but now it supports not only 'sd' devices
but empty disk slots too.

    Usage:

    encled (without options) - display all slots devices status and disk letter
    encled enclosure/slot - display status of requested device
    encled enclosure/slot fault - set led indicator to 'faulty'
                          this WILL NOT make device faulty, just set
                          enclosure led to 'FAULTY' status.
    encled enclosure/slot locate - set led indicator to 'locate' status
    encled enclosure/slot off - turn off faulty/locate status
    encled device locate/fault/off will work with sd device (sda, sde)

    encled ALL off
    encled GOOD off - turns off leds only on devices where fault led is off
    encled ALL fault
    encled ALL locate - turn all devices to that status (note CAPS ALL)

    examples:
        encled 4:0:1:0/12 - show status for enclosure 4:0:1:0 slot 12
        encled ALL off - disable all indication for all slots in all enclosures
        encled 5:0:24:0/24 fault - set fault indicator for enclosure 5:0:24:0 slot 24
        encled 5:0:24:0/12 locate - set location indicator for enclosure 5:0:24:0 slot 12
    encled sda locate - enable 'locate' for slot with sda block device
    encled /dev/sdbz fault - enable fault indicator slot with sdbz block device