HDD RAID array slow to wake up after upgrading from Debian 10 to 13

takeshita_kenji

New Member
Joined
Jul 12, 2026
Messages
1
Reaction score
0
Credits
15
I've been running a home server with a RAID 6 array of SATA hard drives plugged into an SAS HBA for many years, but when I upgraded the OS from Debian 10 to 13, it started taking a very long time to wake up after it's been sitting for a while. This sounds a lot like the drives were spun down, but they weren't spinning down previously because I had a script with these commands in it run at boot:
Bash:
sdparm --flexible -6 -l --clear SCT "$DRIVE"
sdparm --flexible -6 -l --clear STANDBY "$DRIVE"
hdparm -s 0 -B 255 -S 0 "$DRIVE"
It looks like the sdparm commands don't work anymore since those fields aren't present on the drives:
Bash:
# sdparm -a /dev/sdf | grep 'SCT\|STANDBY'
#
And hdparm is similarly not working for the most part:
Bash:
# hdparm -s 0 -B 255 -S 0 /dev/sdf
/dev/sdf:
 spin-up:SG_IO: bad/missing sense data, sb[]:  f0 00 0b 04 51 40 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 setting power-up in standby to 0 (off)
 setting Advanced Power Management level to disabled
SG_IO: bad/missing sense data, sb[]:  f0 00 0b 04 51 40 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 setting standby to 0 (off)
 APM_level      = not supported
OS info:
Bash:
# cat /etc/debian_version
13.5
# uname -a
Linux superbob 6.12.86+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.86-1 (2026-05-08) x86_64 GNU/Linux
# hdparm -V
hdparm v9.65
# sdparm -V
version: 1.12 20210421 [svn: r347]
Anyone know how to properly disable spindown on these drives?
 


Follow Linux.org

Staff online


Top