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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. Beginner’s Guide to LVM (Logical Volume Management)
  2. kill: command not found
  3. “aws s3 rm” Command Examples
  4. 10pt loadable: Metric (TFM) file not found
  5. Anonymous User Fails to Upload File to VSFTP Server
  6. md5sum: command not found
  7. Oracle OS watcher (OSWatcher) – Understanding oswiostat
  8. How to Configure SSH to restrict Users/Groups with allow and deny directives
  9. lshal Command Examples in Linux
  10. How to configure multicast on an IP address (interface)

You May Also Like

Primary Sidebar

Recent Posts

  • “aws s3api” Command Examples
  • “aws s3” Command Examples
  • “aws s3 rm” Command Examples
  • “aws s3 presign” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright