Files
md1200-fan-control/das_fanctl.sh
Zeb Hering 9961e972df Move the shelf ramp above the drives' working range, add a deadband
Retiring 8x2TB for 4x8TB + a 16TB moved the hottest drive to 40-41c,
exactly the old 40c ramp start, and the fan flipped 10<->15% every 30
seconds. The ramp is now 44-56c, which puts the drives back on the floor
with 19c of headroom to their 60c limit.

Adds the deadband from fan_speed.sh so the shelf does not chase every
degree once drives do climb into the ramp, with a downward-only periodic
settle so damping cannot leave it permanently loud.

selftest and disks no longer take the serial lock - they do not open the
port, and refusing to run them while the service is up is unhelpful.

The new tests caught a real bug: in `local a=$1 b=$a` bash expands the
right-hand sides before the locals exist, so the held value was silently
empty.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-30 16:52:12 -07:00

8.1 KiB
Executable File