How to enable LED blinking for a drive in LSI RAID

If you need to replace a failed HDD, it might be useful to enable LED blinking. Here’s how you can do this if you have LSI RAID.

At fist let’s find HDD information.

MegaCli64 -PDList  -aALL | less

What you need to find is Enclosure Device ID and Slot number.  Once done, run:

MegaCli64 -PdLocate -start -PhysDrv [#Enclosure:#Slot number] -a#ARRAY

As you can see you need to specify your real Enclosure Device ID and Slot number. For instance,

[root@backup ~]#MegaCli64 -PdLocate -start -PhysDrv [32:4] -a0
Adapter: 0: Device at EnclId-32 SlotId-4  -- PD Locate Start Command was successfully send to Firmware
Exit Code: 0x00
[root@backup ~]#

Now support team is able to easily replace failed HDD.