yes, I already discoverd it, I just want to be sure what device name is stored in your case
I will post a patch asap
It is the expected behaviour.jaker wrote:e thing I noticed was "Current System Status: No Alert" is shown, but I couldn't find anything more about the fan control from browser UI.
ps axf
It is also the expected behaviour as the firmware does not find any script in /fvdw/cron- boot. (=> nothing to do at the nas booting and then the firmware disables the feature)jaker wrote:Clicking on "Enable/Disable Boot Jobs" does not do anything. It shows briefly "Saving Changes" but status does not change from disabled to enabled.
root@ZENfvdwsl-base:/ # ps axf
...
830 ? Ss 0:00 /bin_cab/fannwsp2max
root@ZENfvdwsl-base:/bin_cab # /bin_cab/fannwsp2max
fannwsp2max daemon version 1 26-may-2020 started
fannwsp2max: temperature limit = 47 oC
fannwsp2: disks installed: sda=1 sdb=1
fannwsp2max: an driver path is /sys/devices/platform/gpio-fan/hwmon/hwmon0/
root@ZENfvdwsl-base:/bin_cab # fannwsp2max: disk temperatures sda 37 sdb 35
fannwsp2max: temperature below limit(47) fan off, temp = 37
root@ZENfvdwsl-base:/bin_cab # /bin_cab/fannwsp2max 36
fannwsp2max daemon version 1 26-may-2020 started
fannwsp2max: temperature limit = 36 oC
fannwsp2: disks installed: sda=1 sdb=1
fannwsp2max: an driver path is /sys/devices/platform/gpio-fan/hwmon/hwmon0/
root@ZENfvdwsl-base:/bin_cab # fannwsp2max: disk temperatures sda 38 sdb 35
fannwsp2max: temperature above limit(36) fan on, temp = 38
This is not the expected output unless you started manually the daemon.jaker wrote:
- Code: Select all
root@ZENfvdwsl-base:/ # ps axf
...
830 ? Ss 0:00 /bin_cab/fannwsp2max
1157 ? Ss 0:08 /usr/sbin/fan-d
ls -l /usr/sbin/fan-d
Currently you can not do it, the firmware uses the default threshold of the daemon.jaker wrote:Where can I change the set temperature? I'd like to set it lower.
cp -p /etc/init.d/rcS /etc/init.d/rcS.org
plugout download 6472
unzip -d /etc/init.d /tmp/rcS.zip
chmod 755 /etc/init.d/rcS
! | before any rebooting check if rcS has its run permissions:
|
echo "xx" > /rw_fs/etc/fand
unlink /rw_fs/etc/fand
/usr/sbin/fan-d XX
Disk Status Current temperature Max temperature Max temperature ever reached
sda active 35 °C 35 °C 52 °C
sdb active 34 °C 34 °C 52 °C
root@ZENfvdwsl-base:/ # ls -l /usr/sbin/fan-d
lrwxrwxrwx 1 root root 20 2020-08-07 22:17 /usr/sbin/fan-d -> /bin_cab/fannwsp2max
root@ZENfvdwsl-base:/ #
root@ZENfvdwsl-base:/ # ps axf
PID TTY STAT TIME COMMAND
2 ? S 0:00 [kthreadd]
3 ? I 0:00 \_ [kworker/0:0]
4 ? I< 0:00 \_ [kworker/0:0H]
6 ? I< 0:00 \_ [mm_percpu_wq]
7 ? S 0:00 \_ [ksoftirqd/0]
8 ? I 0:00 \_ [rcu_preempt]
9 ? I 0:00 \_ [rcu_sched]
10 ? I 0:00 \_ [rcu_bh]
11 ? I< 0:00 \_ [netns]
12 ? I 0:00 \_ [kworker/u2:1]
280 ? S 0:00 \_ [oom_reaper]
281 ? I< 0:00 \_ [writeback]
283 ? I< 0:00 \_ [crypto]
284 ? I< 0:00 \_ [kintegrityd]
286 ? I< 0:00 \_ [kblockd]
292 ? I< 0:00 \_ [ata_sff]
310 ? I< 0:00 \_ [md]
402 ? I< 0:00 \_ [rpciod]
403 ? I< 0:00 \_ [xprtiod]
404 ? S 0:00 \_ [kswapd0]
416 ? I< 0:00 \_ [nfsiod]
417 ? I< 0:00 \_ [cifsiod]
418 ? I< 0:00 \_ [cifsoplockd]
419 ? S 0:00 \_ [jfsIO]
423 ? S 0:00 \_ [jfsCommit]
424 ? S 0:00 \_ [jfsSync]
425 ? I< 0:00 \_ [xfsalloc]
426 ? I< 0:00 \_ [xfs_mru_cache]
570 ? S 0:00 \_ [scsi_eh_0]
571 ? I< 0:00 \_ [scsi_tmf_0]
574 ? S 0:00 \_ [scsi_eh_1]
575 ? I< 0:00 \_ [scsi_tmf_1]
579 ? I< 0:00 \_ [smflush]
580 ? S 0:00 \_ [spi0]
581 ? I 0:00 \_ [kworker/u2:3]
672 ? S< 0:00 \_ [aoe_tx0]
673 ? S< 0:00 \_ [aoe_ktio0]
699 ? I< 0:00 \_ [raid5wq]
702 ? I< 0:00 \_ [dm_bufio_cache]
703 ? I< 0:00 \_ [kmpathd]
704 ? I< 0:00 \_ [kmpath_handlerd]
721 ? I< 0:00 \_ [ipv6_addrconf]
725 ? I< 0:00 \_ [dsa_ordered]
752 ? I< 0:00 \_ [kworker/0:1H]
753 ? S 0:00 \_ [jbd2/sda7-8]
754 ? I< 0:00 \_ [ext4-rsv-conver]
773 ? S 0:00 \_ [jbd2/sda1-8]
774 ? I< 0:00 \_ [ext4-rsv-conver]
811 ? I< 0:00 \_ [iscsi_eh]
834 ? S 0:00 \_ [jbd2/sda5-8]
835 ? I< 0:00 \_ [ext4-rsv-conver]
1473 ? S 0:00 \_ [jbd2/md0-8]
1474 ? I< 0:00 \_ [ext4-rsv-conver]
1493 ? I 0:00 \_ [kworker/0:3]
1906 ? I 0:00 \_ [kworker/0:1]
1 ? Ss 0:03 init
820 ? Ss 0:00 /usr/sbin/buttonsd
986 ? Ss 0:00 /usr/sbin/fan-d 40
1018 ? S<s 0:00 /sbin/udevd --daemon
1339 ? Ss 0:00 /sbin/mdadm --monitor --daemonise --scan --delay=600
1520 ? Ss 0:00 /sbin/udhcpc -b -i eth0 -s /etc/api/api_dhcpc.php dhc
1547 ? Ss 0:00 /usr/bin/httpd -f httpd.conf -d /etc
1548 ? S 0:01 \_ /usr/bin/httpd -f httpd.conf -d /etc
1859 ? S 0:00 \_ /usr/bin/httpd -f httpd.conf -d /etc
1551 ? Ss 0:00 /usr/sbin/noflushd -n 15 /dev/sda /dev/sdb
1580 ? Ss 0:00 /usr/bin/discoverd
1587 ? Ss 0:00 /usr/bin/rpcbind
1608 ? Ss 0:00 dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rsa_ho
1834 ? Ss 0:00 \_ dropbear -p 22 -r /rw_fs/etc/dropbear/dropbear_rs
1835 pts/0 Ss 0:00 \_ -sh
1915 pts/0 R+ 0:00 \_ ps axf
1627 ? Ss 0:00 /usr/sbin/hostd 7200
1650 ? Ss 0:00 /usr/sbin/temp-guard 55
1679 ? Ss 0:00 /usr/sbin/crond -c /share/1100/cronjobs -L /share/110
1720 ? Ss 0:00 /usr/sbin/nmbd -D -l /var/log/samba
1722 ? Ss 0:00 /usr/sbin/smbd -D -l /var/log/samba
1733 ? S 0:00 \_ /usr/sbin/smbd -D -l /var/log/samba
1734 ? S 0:00 \_ /usr/sbin/smbd -D -l /var/log/samba
1846 ? Ss 0:00 /bin/ntpd -p 0.fi.pool.ntp.org -p 2.fi.pool.ntp.org
root@ZENfvdwsl-base:/ #
I need to have a talking with fvdw. Either we keep this feature for advanced user or we implement it on the fs web-interface. Playing with this feature may occur bad behaviour: for example if you set a fan threshold greater than the HD temperature where the nas will be shutdown (standby wol)...jaker wrote:Setting would be great on the web page GUI, but I can manage with this allright.
Return to Lacie Network Space vs2 and max version
Users browsing this forum: No registered users and 4 guests