mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-15 04:52:04 +01:00
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:
1 parent
899162055a
commit
5bbe17ebcd
1 file changed
+3
-1
@@ -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
|
||||
'';
|
||||
|
||||
Reference in new issue
Block a user