[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
2908
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
2908
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
0
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
41000
3536
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
2296
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
41000
3052
37
Hi,
after switch from D-Link firmware (with ffp), I recognize that the fan regularly starts/stops on disk "idle". It is a disturbing noise. Changes to temp limits didn't help.
# fix "sysctrl service UI doesn't display correct low temp value"
sysctrl: args.fan_off_temp=38
Does anyone got an idea what to check next?
Thomas
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
2908
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
2908
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
0
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
41000
3536
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
40500
2296
37
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
41000
3052
37
rcsysctrl stop
echo 100 > /tmp/sys/pwm1 # non-linear relation-ship between pwm and fan speed
cat /tmp/sys/fan1_input
echo 120 > /tmp/sys/pwm1
cat /tmp/sys/fan1_input
Your fan is defective or jammed.
you can try it for yourself, stop syctrl, then set pwm as you which, and read back the actual fan speed:
rcsysctrl stop
echo 100 > /tmp/sys/pwm1 # non-linear relationship between pwm and fan speed
cat /tmp/sys/fan1_input
echo 120 > /tmp/sys/pwm1
cat /tmp/sys/fan1_input
when you start sysctrl ( using 'rcsysctrl start') it will override your settings. Notice that sysctrl controls more than just the fan, turn it off only for diagnose purposes.
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
41500
2730
74
[root@storage]# cat /sys/class/hwmon/hwmon1/device/temp1_input /sys/class/hwmon/hwmon0/device/fan1_input /sys/class/hwmon/hwmon0/device/pwm1
42000
2761
78
[root@storage]# logread | grep fan
Dec 31 18:55:13 storage daemon.info sysctrl: args.lo_fan=2000
Dec 31 18:55:13 storage daemon.info sysctrl: args.hi_fan=5000
Dec 31 18:55:13 storage daemon.info sysctrl: args.fan_off_temp=38
Dec 31 18:55:13 storage daemon.info sysctrl: args.max_fan_speed=6000
Dec 31 18:55:45 storage daemon.info sysctrl: temp=39.3 fan=0
Dec 31 19:04:47 storage daemon.info sysctrl: temp=39.6 fan=0
Dec 31 19:09:49 storage daemon.info sysctrl: temp=40.1 fan=2495
Dec 31 19:10:19 storage daemon.info sysctrl: temp=40.3 fan=2275
Dec 31 19:21:52 storage daemon.info sysctrl: temp=40.6 fan=2374
Dec 31 19:32:25 storage daemon.info sysctrl: temp=41.1 fan=2457
Dec 31 19:32:55 storage daemon.info sysctrl: temp=41.3 fan=2546
Dec 31 19:55:00 storage daemon.info sysctrl: temp=41.6 fan=2628
Dec 31 20:47:17 storage daemon.info sysctrl: temp=42.1 fan=2761
Dec 31 20:49:47 storage daemon.info sysctrl: temp=42.3 fan=2824
Jan 1 12:59:58 storage daemon.info sysctrl: temp=41.9 fan=2824
Jan 1 13:32:11 storage daemon.info sysctrl: temp=42.2 fan=2776
Jan 1 15:41:14 storage daemon.info sysctrl: temp=41.8 fan=2824
Jan 1 17:45:40 storage daemon.info sysctrl: temp=42.2 fan=2776
Jan 1 18:28:14 storage daemon.info sysctrl: temp=41.8 fan=2808
Regards
Thomas