takeshita_kenji
New Member
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:
It looks like the sdparm commands don't work anymore since those fields aren't present on the drives:
And hdparm is similarly not working for the most part:
OS info:
Anyone know how to properly disable spindown on these drives?
Bash:
sdparm --flexible -6 -l --clear SCT "$DRIVE"
sdparm --flexible -6 -l --clear STANDBY "$DRIVE"
hdparm -s 0 -B 255 -S 0 "$DRIVE"
Bash:
# sdparm -a /dev/sdf | grep 'SCT\|STANDBY'
#
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
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]

