Disk failure LEDs for TrueNAS SCALE

WARNING: Pre-release, immature code. Please test, but don’t trust.

I put together a script this afternoon to light up the disk failure LEDs on a compatible SAS backplane when a disk is faulted, offline, or otherwise in an error status. It seems to work for me with a Supermicro SAS backplane; I haven’t been able to test it with any others. It uses GitHub - amarao/sdled: Control fault/locate indicators in disk slots in enclosures (SES devices) to control the LEDs. The script itself as well as usage information can be found at: