ledctl command examples
ledctl – Intel(R) LED control application for a storage enclosures.
The following example illustrates how to locate a single block device.
#ledctl locate=/dev/sda
The following example illustrates how to turn Locate LED off for the same block device.
ledctl locate_off=/dev/sda
The following example illustrates how to locate disks of a RAID device and how to set rebuild pattern for two block devices at the same time. This example uses both formats of device list.
ledctl locate=/dev/md127 rebuild={ /sys/block/sd[a-b] }
The following example illustrates how to turn Status LED and Failure LED off for the given device(s).
ledctl off={ /dev/sda /dev/sdb }
The following example illustrates how to locate a three block devices. This example uses the first format of device list.
ledctl locate=/dev/sda,/dev/sdb,/dev/sdc