SAS Drive Activity LEDs

How to switch activity LEDs on SAS drives

Blog Post Overview

SAS Drive Activity LEDs: A Small Discovery

When Your Drives Go Silent

I recently bought SAS drives for the first time, stepping up from years of running SATA HDDs. I was excited for the reliability and performance, but immediately noticed something odd: the activity LEDs behaved in reverse - they were lit when idle and turned off during drive activity.

The Search for Answers

After some digging through forums, I found out, that this is normal behaviour for these drives. Fortunately, we can easily change that

The Fix

The solution is simple: use sdparm to enable the LEDs.

For a single drive, run:

sudo sdparm --set=RLM /dev/sdx

If you want the setting to persist after a reboot or power cycle, add --save:

sudo sdparm --set=RLM --save /dev/sdx

For multiple drives, a quick loop does the trick:

for i in {a..x}; do sudo sdparm --set=RLM --save /dev/sd$i > /dev/null; done

Without the --save flag, the setting will be lost after replugging or rebooting the drive.

Reverting the Change

If you ever want to turn the activity LEDs off again, just clear the setting:

sudo sdparm --clear=RLM --save /dev/sdx

Again, use --save if you want the change to stick after power cycles.

how to switch led activity on sas drives,enable sas drive activity led,sdparm sas led,sas drive led always on,sas drive led not blinking,sas drive led troubleshooting,sas drive led configuration,sas drive led blinking,sas drive led not working,homelab sas drive led

Related Posts

My Home Server Setup: Linux, ZFS, Hot-Swap and overkill

My Home Server Setup: Linux, ZFS, Hot-Swap and overkill

Quick overview of my home lab.

Updating LSI 9500-8i Firmware

Updating LSI 9500-8i Firmware

A complete guide to updating the firmware on Broadcom LSI 9500-8i HBA cards.

Updating LSI 9400-16i Firmware

Updating LSI 9400-16i Firmware

A complete guide to updating the firmware on Broadcom LSI 9400-16i HBA cards.