Add temperature-aware MD1200 fan control

das_fanctl.sh reads drive temps via smartctl (falling back to the EMM
backplane sensors), interpolates a fan percentage, and re-sends _shutup
on a 5s keepalive so the shelf does not revert to full speed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Zeb Hering
2026-08-25 10:10:43 -07:00
commit 24d53e832e
7 changed files with 530 additions and 0 deletions

12
fan_speed_das.service Normal file
View File

@@ -0,0 +1,12 @@
[Unit]
Description=Fan Speed Script - izebra (Dell MD1200 DAS)
[Service]
User=root
WorkingDirectory=/root/fan_speed/
ExecStart=/root/fan_speed/das_fanctl.sh
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target