LinuxCommandLibrary

ledctl

TLDR

Turn on Locate LED for devices

$ sudo ledctl locate=[/dev/sda,/dev/sdb]
copy
Turn off Locate LED
$ sudo ledctl locate_off=[/dev/sda,/dev/sdb]
copy
Turn off Status and Failure LEDs
$ sudo ledctl off=[/dev/sda,/dev/sdb]
copy
Turn off all LEDs (normal state)
$ sudo ledctl normal=[/dev/sda,/dev/sdb]
copy

SYNOPSIS

ledctl [options] pattern=devicelist_

DESCRIPTION

ledctl controls enclosure LEDs for Intel RAID controllers and storage systems. It allows physical identification of disks by blinking the Locate LED, and manages status indicators for disk states.
This is particularly useful in data centers with many disks, allowing administrators to physically locate specific drives that need attention, replacement, or are part of a rebuild operation.

PARAMETERS

locate=DEVICES

Turn on Locate LED (blue blinking)
locate_off=DEVICES
Turn off Locate LED
off=DEVICES
Turn off Status and Failure LEDs
normal=DEVICES
Turn off all LEDs, return to normal state
rebuild=DEVICES
Set rebuild pattern (used during RAID rebuild)
failure=DEVICES
Set failure pattern (solid red)

CAVEATS

Requires Intel hardware with LED support (AHCI, ISCI, VMD enclosures). Needs root privileges. Not all enclosures support all LED patterns.

HISTORY

ledctl is part of the ledmon package, developed by Intel for managing storage enclosure LEDs on their RAID and storage hardware platforms.

SEE ALSO

ledmon(8), mdadm(8), smartctl(8)

Copied to clipboard