fix(youko): also try disabling the WD idle3 (Intellipark) timer

-B 255 turns APM off and it stuck, but the disks still reach standby, so
the bridge firmware is likely doing the spindown. -J 0 additionally asks
the drive to stop parking its heads (sdb has ~1M load cycles).
This commit is contained in:
Ryan Yin committed 2026-09-21 17:43:05 +08:00
1 parent 899162055a
commit 5bbe17ebcd
1 file changed
+3 -1
+3 -1
View File
@@ -64,8 +64,10 @@ in
script = ''
for d in ${hddPublic} ${hddEncrypted}; do
echo "== $d =="
${pkgs.hdparm}/bin/hdparm -B 255 -S 0 "$d" || true
# -B 255: APM off; -S 0: no standby timer; -J 0: WD idle3 (Intellipark) off
${pkgs.hdparm}/bin/hdparm -B 255 -S 0 -J 0 "$d" || true
${pkgs.hdparm}/bin/hdparm -B "$d" || true
${pkgs.hdparm}/bin/hdparm -J "$d" || true
${pkgs.hdparm}/bin/hdparm -C "$d" || true
done
'';