![]() First install beep and hddtemp if you have not done it previously: # apt-get install beep hddtemp Because of this I’m resetting values of both files in the script below. The script is run by a cron every 5 minutes.įrom some reason /sys/class/i2c-adapter/i2c-0/0-002e/pwm2 can regulate the fan and sometimes it is /sys/class/i2c-adapter/i2c-0/0-002e/pwm1 which need to be altered to change the fan speed. Here is a very primitive bash script to do this job. ![]() ![]() If the hard drive temperature increases to the MAX level of 60 C then the fan will start to spin with a full power ( 255 ) and the system will beep 3 times to get me notified. My SAMSUNG HD501LJ working temperature is from 0 – 60 C so I’m willing to take that risk to let it heat up to 57 C and then turn on the fan with some low value such as 40. This is specified by the hard drive vendor. Not check your hard drive temperature with something like: # hddtemp /dev/sd?įor me, at the moment the best solution is to switch off a fan if the hard drive’s temperature is below working temperature. However, make sure that you check your hard drives temperature before you leave the fan turned off completely: # apt-get install hddtemp The main reason to put a fan on lower RPM is to get rid of the noise. If the pwm2 file did not produce the desired outcome you may try pwm1 instead. For example to turn off the fan use: echo 0 > /sys/class/i2c-adapter/i2c-0/0-002e/pwm2 To change the default values use a echo command. The default value is 255 as specified in : cat /sys/class/i2c-adapter/i2c-0/0-002e/pwm2 If you have installed a Debian lenny ( kernel 2.6.26-2-iop32x ) on your Thecus 2100 NAS device the fan is not automatically controlled by default and it is running on a full speed.
0 Comments
Leave a Reply. |