I have found this new sensors method stable for quite a while. With temperature=$(sensors -A drivetemp-scsi-5-0|grep temp1|tr -s ' '|cut -d '+' -f 2|cut -d '.' -f1 ) Given that hddtemp is going away in the next Debian release, I've changed mine to use "drivetemp", which can be read from sensors so I'll replace: temperature=$(hddtemp -n /dev/sdc 2>/dev/null) # Set base temp if we got nothing in stdout, this mean we are asleep Temperature=$(hddtemp -n /dev/sdc 2>/dev/null) This has been stable for me: FILE=/tmp/Hddtemp I found Mathew Wai's answer really good, but I ran into some issues with drives sleeping and temperature data corruption. Note that "HDD_temp" and "Hddtemp" are the script file and output file respectively. Then, the fan controlled by “ hwmon1/pwm1” will respond to “ /Fancontrol/Hddtemp”, the hard disk temperature. 1 As my CPU cooler fan broke on a setup with older hardware, I had to replace it with a similar fan, which unfortunately is pretty noisy. Save the file and run the following command to restart Fancontrol. Replace it with “ /Fancontrol/Hddtemp”, and the line will become: the chipset temperature) currently read by Fancontrol. hardware - Linux fan control - Unix & Linux Stack Exchange Linux fan control Ask Question Asked 9 years, 11 months ago Modified 9 years, 3 months ago Viewed 11k times 0 For some unknown reason, my laptop fan stays on consistently. On that line, “ hwmon1/temp1_input” is the temperature (e.g. (7) Run the following command to edit “ fancontrol”, the configuration file.įind the line that begins with “ FCTEMPS”. Then, the script “ HDD_temp” will be run as a system service at Linux startup. Sudo chmod 664 /lib/systemd/system/HDD_rvice (6) Run the following commands one by one: (5) Copy the following lines into the file and save it. (4) Run the following command to create a service file. (3) Run the following command to make it executable. (2) Copy the following script into the file and save it. Sudo mkdir -p "/Fancontrol/" & sudo xed /Fancontrol/HDD_temp (1) Run the following command to create a script file. If you have not yet configured Fancontrol, see this page, this page, and this page and run the following commands one by one (restart Linux after running the first one): Replace “ /dev/sda” with the correct one in the script if necessary. Use only the one supported by Hddtemp, which will display the temperature rather than “S.M.A.R.T. Press Ctrl + Alt + T to open Terminal and run the following command to check whether “ /dev/sda” is the correct one: In the following script, “ /dev/sda” is the hard disk to be monitored, and “ /Fancontrol/Hddtemp” is the output file to be read by Fancontrol. SYS FAN 4 being 1000RPM will be the one making the noise, i would need to know the if you only have the board or the complete server chassis, also what CPU and RAM are installed to confirm anything (which take me a few days though).I finally found a simple script to control fan speed according to hard drive temperature via Fancontrol, Hddtemp, and Lm-sensors. To answer your question, ive never been able to control Intel fans via software, especially when its a server, it will be from the BMC which as far as i know means you can only read the data from the fan, not control it. The S1200 has a cooling curve, i always set them to maximum performance and the current server (S1200 series) is almost silent, i get more noise from the PSU fans than the system ones. Ive not looked at the Intel hardware itself in depth, however i can tell you with regards Lenovo (which are Intel CPU and Intel chipsets) the fans are only controlled by the BMC and this will depends on the cooling curve you select AND whats installed.įor example in the Lenovo if there is a RAID card then the fans nearest the RAID card are set to be more aggressive, so as more data is pulled those 2 fans would rev up way faster than if a RAID card was not installed. There is a setting that can be changed on BIOS > System Acoustic and Performance Configuration that allow you to somehow manually set up a fan profile depending on your needs.Ībout disconnecting any of the fans what will trigger the remaining ones to rev up as a safety measure so definitely is not recommended.Ībout the OS just to let you know that doesn't show up within the supported OS for this board: Īfter that let me forward you a document that would help you to troubleshoot fan issues: Fans are controlled by the BMC depending on the cooling requirements. First of all to answer your question the fans cannot be controller through IPMI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |