Skip to content

v0.1.0

Choose a tag to compare

@nmuellerdo nmuellerdo released this 16 Jul 11:32

First public release of ses-led-control.

Control the Identify (locate) and Fault LEDs of disk slots in enclosures that
speak SES (SCSI Enclosure Services) on Linux - built with TrueNAS SCALE in mind,
which has no built-in way to drive these LEDs.

Highlights

  • Slot overview across all SES enclosures (device, serial, model, size, firmware,
    status, IDENT/FAULT), including empty slots.
  • Interactive menu and non-interactive CLI: list, ident on|off <target>,
    fault on|off <target>, off-all.
  • Targets by block device (/dev/sdX or sdX), disk serial, or sgN:slot.
  • --dry-run prints the sg_ses commands without touching hardware; root is
    only needed to actually switch LEDs.
  • Offline parity self-test and shellcheck CI.

Developed and tested on TrueNAS SCALE (Supermicro SC846P + LSI SAS3x36). Written
with the help of Claude (Anthropic). See CHANGELOG.md for details.