Hi, I just build 3 disk unRaid array with the Supermicro x7spe-h-D525 board with 5beta12a and now im struggling to get the fan control up and running.
Mainboard: Supermicro x7spe-h-D525
Memory: Cosair 2x2GB DDR3 1333Mhz CMSO2GX3M1A1333C9
PSU: SeaSonic SS-400FL
Case: old CD-Rack with 2x SlipStream PWM 200-1300rpm
HDD: 3x3TB Hitachi Coolspin 32mb SATA 3
unRaid: 5b12a on 4gb Sandisk Blade
@dstroot: I had the same problem. First I installed the perl addon via unmenue, then run sensor-detect and added the found sensors via
modprobe coretemp
modprobe w83627ehf
into the go file. Sensor-detect also found some impi-sensors, but as i only have the H version without impi I ignored it. This enabled
root@Tower:~# sensors
and i could see, that fan2 and fan4 were running at about 700rpm. (BIOS fan setting is "Balanced"). I couldnt change the speed manually before adding this line to the go script.
echo 1 > /sys/class/hwmon/hwmon1/device/pwm2_enable
# Insert fan_speed.sh into crontab
chmod +x /boot/scripts/fan_speed.sh
crontab -l >/tmp/crontab
grep -q "fan_speed.sh" /tmp/crontab 1>/dev/null 2>&1
if [ "$?" = "1" ]
then
crontab -l | egrep -v "control unRAID fan speed based on temperature:|fan_speed.sh" >/tmp/crontab
echo "#" >>/tmp/crontab
echo "# control unRAID fan speed based on temperature" >>/tmp/crontab
echo "*/2 * * * * /boot/scripts/fan_speed.sh 1>/dev/null 2>&1" >>/tmp/crontab
cp /tmp/crontab /var/spool/cron/crontabs/root-
crontab /tmp/crontab
fi
From this on I am stuck. I added the fan speed crontab script to the go file but in the syslog it shows
Oct 4 14:04:01 Tower crond[1092]: exit status 126 from user root /boot/scripts/fan_speed.sh 1>/dev/null 2>$stuff$1
Oct 4 14:06:01 Tower crond[1092]: exit status 126 from user root /boot/scripts/fan_speed.sh 1>/dev/null 2>$stuff$1
Oct 4 14:08:01 Tower crond[1092]: exit status 126 from user root /boot/scripts/fan_speed.sh 1>/dev/null 2>$stuff$1
Oct 4 14:10:01 Tower crond[1092]: exit status 126 from user root /boot/scripts/fan_speed.sh 1>/dev/null 2>$stuff$1
exit status 126 seems to be "not an executable", although its in the go script...
when i chmod +x fan_speed.sh and try to run it, i get
root@Tower:/boot/scripts# bash fan_speed.sh
: command not found2:
: command not found7:
: command not found9:
: command not found13:
: command not found21:
: command not found27:
")05ntax error: invalid arithmetic operator (error token is "
: command not found40:
: command not found47:
: command not found49:
: command not found62:
fan_speed.sh: line 94: syntax error near unexpected token `elif'
fan_speed.sh: line 94: ` elif [ "$CURRENT_FAN_SPEED" -ge "$FAN_HIGH_PWM" ]; the'
root@Tower:/boot/scripts# ]
anyone any ideas what I am doing wrong?
its my first time using linux...thx