ledctl: command not found

“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:

  • Off
  • On
  • Blink
  • Identify

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.

If you encounter the below error while running the command ledctl:

ledctl: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install ledmon
Ubuntu apt-get install ledmon
Kali Linux apt-get install ledmon
CentOS yum install ledmon
Fedora dnf install ledmon
Raspbian apt-get install ledmon

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,...
Related Post