• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ledctl Command Examples in Linux

by Deepika

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

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

Filed Under: Linux

Some more articles you might also be interested in …

  1. “aws s3 presign” Command Examples
  2. lftp: command not found
  3. scp Command Examples in Linux
  4. git annotate: Show commit hash and last author on each line of a file
  5. prt-get Command Examples in Linux
  6. “aws s3 cp” Command Examples
  7. dvc destroy: Remove all DVC files and directories from a DVC project
  8. dconf Command Examples in Linux
  9. dir: command not found
  10. gpasswd Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright