“ledctl” is a command-line utility for controlling the LEDs on Intel-based storage enclosures. It is used to configure the LED indicator on the front of the enclosure, which can be used to indicate the status of the enclosure’s power, activity, or the presence of a fault.
The tool can be used to control the LED on a specific enclosure, or on all enclosures connected to the host. It can also be used to query the current state of the LED on an enclosure. The tool can be used to change the LED status to one of the following:
This tool is typically used by IT administrators and system administrators to monitor the health and status of their storage enclosures. It is only compatible with Intel-based storage enclosures and the system must have Intel Enclosure Services installed to use this tool.
ledctl Command Examples
1. Turn on the “Locate” LED for specified device(s):
# sudo ledctl locate=/dev/sda,/dev/sdb,...
2. Turn off the “Locate” LED for specified device(s):
# sudo ledctl locate_off=/dev/sda,/dev/sdb,...
3. Turn off the “Status” LED and “Failure” LED for specified device(s):
# sudo ledctl off=/dev/sda,/dev/sdb,...
4. Turn off the “Status” LED, “Failure” LED and “Locate” LED for specified device(s):
# sudo ledctl normal=/dev/sda,/dev/sdb,...