![]() Once the high air flow fans are installed I expect them to be more capable of maintaining the drive temps at more stable speeds. The fan speeds are a bit hectic, but I blame the Noctua fans I'm using as they're static pressure fans, not high air flow, and the replacements should be in Monday. After the tweaks were made I ran it for a few minutes while monitoring the temps and fan speeds and it's working mostly as expected. The sub that gets the CPU temperature utilizes a command string and involves some awk and sed piped commands, which I'm far more comfortable adjusting on my own so that's what I did. I didn't even know where to begin recoding those subroutines so I'm quite thankful for the help. Gerardo was able to replace Kevin's subs that obtain the drive temperatures with a simplified version that utilizes hddtemp instead. However, since I haven't even attempted to program with Perl since I was 15 or 16, and even then it was a poor shot at it, so I sent Kevin's script to gperales on Fiverr. I know what had to change in the script to get it working on Ubuntu: We need to change the subroutines that get the CPU and hard drive temperatures to utilize the programs sensors and hddtemp, respectively. This appeals to me as the goal here is to keep the temperatures, and the fans, in a more controlled state. Kevin's iteration on the script utilizes PID control, allowing the fans to be run with more fine control. ![]() The core difference between Stux and Kevin's scripts are Stux's script is a bit "brute force" where as Kevin's involves a bit more "finesse." To be fair, Stux's script is great, but it's more raw. NOTE: Kevin's script is based on a script by FreeNAS forums user Stux, available here: The script we're using is by Kevin Horton, available here: I know enough of scripting to get the idea of what something is doing, but not remotely enough to modify things as we'd need it. So, I turned to Fiverr to get a Perl programmer to help out changing up the bits that had to be changed. Since the subsystems involved to get CPU and hard drive temperatures for FreeNAS and Ubuntu are quite different, the scripts won't work out of the box. I searched and searched for some method and kept getting routed back to a couple of Perl scripts made for FreeNAS. Instead of going over all the "well this didn't work" things, I'm only going to discuss what is working. After a bunch of futzing about, I think I've got something functional. My Supermicro motherboard only allows fan control via the IPMI interface, whereas I'm used to using Linux's lm-sensors, pwmconfig, and fancontrol systems. One of the biggest challenges I've faced getting my new home server setup has been fan control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |