Always a fan (sorry) of a bargain I found an ebay seller with a few Buffalo Terastations for £10 each untested. Only after buying did I spot the listings all had the same picture and whereas the WSS version was pictured I got the standard TS5600 model which was a bit naughty. The seller had obviously been swapping bits as my TS5600 came with a case sticker with a Windows Storage Server 2012 Serial number affixed, bonus!
Having had a play installing 2012 and being severely unimpressed I went back to Debian, I have a lot of Linkstations and my only issue with stock firmware is it’s getting a bit old and lacking updates to Samba, SSH etc. so having a proper Debian Bullseye 11.2 was made easy with https://github.com/1000001101000 his/her/their Debian installer ISO was thrown onto a 2GB usb with Rufus (use DD mode or it fails to boot) and within an hour we had a base Debian, there’s a few guides around to some of the foibles, https://buffalonas.miraheze.org/wiki/Installing_Debian_on_Intel_Terastations lists the possible issues in plain English though since writing some of the modules are now picked up by the installer and work out of the box.
All nice and easy, except, those pesky fans blowing away for all they’re worth. Sure, put fancontrol on it says, easy. And it IS until you run pwmconfig and it tells you lots of nice stuff, tests the fans and writes a config to /etc/fancontrol which then doesn’t work. There’s not too much on fancontrol configs when you get into the config for sensors and temps, so a day of reading and fiddling ensued. I ended up working out the best general overview was here: https://wiki.archlinux.org/title/fan_speed_control but it struggled to explain how the relationships worked. Whilst (at the time of writing) the formatting was all over the place this: https://www.linuxsecrets.com/2744-fan-speed-control was much much clearer on the relationships of the lines in fancontrol and helped me to get them sorted.
So TLDR: If you need a fancontrol config for a TS5000 series this should work, and manages the two case fans based on the CPU core temp. It may need playing with when the box is fully loaded and I may have to include the temp3 sensor in the case but for now, CPU hot=Fans on!
# Configuration file generated by pwmconfig, changes will be lost INTERVAL=10 DEVPATH=hwmon0=devices/platform/coretemp.0 hwmon1=devices/platform/it87ts.2576 DEVNAME=hwmon0=coretemp hwmon1=it8721 FCTEMPS=hwmon1/pwm1=hwmon0/temp2_input hwmon1/pwm2=hwmon0/temp3_input FCFANS=hwmon1/pwm2=hwmon1/fan2_input hwmon1/pwm1=hwmon1/fan1_input MINTEMP=hwmon1/pwm1=40 hwmon1/pwm2=40 MAXTEMP=hwmon1/pwm1=60 hwmon1/pwm2=60 MINSTART=hwmon1/pwm2=80 hwmon1/pwm1=80 MINSTOP=hwmon1/pwm2=40 hwmon1/pwm1=40


