Posts by sbocquet

    Once you have compiled all the stuff, and "make deb" in both the SPL and ZFS dir, you will have some *-dkms.deb package to install (spl-dkms_0.7.9-1_amd64.deb and zfs-dkms_0.7.9-1_amd64.deb like the normal install from repository). At the moment, I can't find the new zfsutils-linux package...


    The only thing is that ZFS 0.7.6 don't work with kernel 4.16 and ZFS 0.7.9 don't work with kernel 4.14... so what to upgrade first ??? Kernel you loose your pool (temporary?), ZFS you cannot since you don't have upgraded your kernel...


    Maybe someone better than me could help...

    Hi !


    Good work both...


    From what I have seen, it's probably better and more flexible to imagine a way to get the sensors name by the lm-sensors directories generated, and store it somewhere in a conf file than to hard code all the possible chipset.


    Code
    # for i in `ls -d /var/lib/rrdcached/db/localhost/sensors-*`; do basename $i; done
    sensors-coretemp-isa-0000
    sensors-it8718-isa-0290


    Same for the number of core. Maybe have something more dynamic like:


    Code
    root@home-server:/var/lib/collectd/rrd/home-server# ls -d | grep cpu
    cpu-0
    cpu-1
    root@home-server:/var/lib/collectd/rrd/home-server# ls | grep cpu| wc -l
    2


    Just my 2 cts ;)

    First, you need to collect the datas => see post 12


    Second, you need to generate the graphs with omv-mkrrdgraph

    For example, I added the CPU core temp to the CPU usage graph like this (add the lines with sensors-coretemp-*/*.rrd generated by collectd):


    Third, run omv-mkrrdgraph and check the new generated PNG file in /var/lib/openmediavault/rrd/*.png (download it to your pc or else)

    That's a simple example. After that, you can do more, like add a tab to have your disks temp, or have multiple graph/page with modifying the WebGUI of OMV (see attached files).



    Feel free to ask your questions if needed.

    If you want to build ZFS 0.7.9...


    From https://github.com/zfsonlinux/zfs/wiki/Building-ZFS


    Code
    root@home-server:~# apt-get install build-essential autoconf libtool gawk alien fakeroot linux-headers-$(uname -r)
    root@home-server:~# apt-get install zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libssl-dev libelf-dev
    root@home-server:~# apt-get install parted lsscsi ksh

    Then you need to install this version on your 4.14 kernel, and then upgraded the kernel to 4.16 I think... I haven't done it and will probably try on a VM before running it on my NAS.


    Cheers,

    My NIC is a Realtek 8111b and it seems that this NIC could have some driver problems... so I follow this guide


    https://unixblogger.com/2011/1…111rtl8168-ethernet-card/


    The fact is that I have an error when compiling the kernel...



    Here is the log


    And some infos... The drivers is added but not installed


    How can I make it work ?


    Cheers,

    So after some more tests, the rx_missed increase under heavy load (file copy through SMB for example), or PC backup with UrBackup.
    If the NAS network isn't stressed (SSH, SFTP transfert...), the number stay stable. That's logical as the rx_missed is define as:


    "Total of RX packets dropped by the HW, because there are no available buffer (i.e. RX queues are full).
    The main reason for full RX queues is a "slow" application, which is not able to process packets in a rate they arrive on interface."

    I tried to tweak the network buffers but it doesn't seems to have an effect...


    Code
    # sysctl -p
    net.core.rmem_max = 12582912
    net.core.wmem_max = 12582912
    net.ipv4.tcp_rmem = 10240 87380 12582912
    net.ipv4.tcp_wmem = 10240 87380 12582912
    net.ipv4.tcp_window_scaling = 1
    net.ipv4.tcp_timestamps = 1
    net.ipv4.tcp_sack = 1
    net.core.netdev_max_backlog = 5000


    I don't know much about that, so if someone has a better understanding or knowledge, any help will be greatly appreciated.


    Thx

    Hi,


    I have just noticed that my NAS network card is getting some rx_missed errors, increasing quickly under heavy load from my PC to the NAS (1 Gb/s link through a Netgear switch between the 2).



    But when I check the stats with ifconfig or other... no errors




    Network chipset on the motherboard is a Realtec


    Any idea ?


    Cheers

    So no problem with Filezila, the WAN output bandwith is fully used using SFTP... but not with WinSCP. Strange as no limit are sets in both softwares !


    EDIT:
    With WinSCP, you need to do your downloads in background mode to have multiple files downloaded at the same time and fully use your bandwith. Filezilla does it naturally...

    Hi,


    I'm facing some strange network speed using WinSCP from my Office to my Home server...


    Transfert are very slow (like 500Kb/s) but it isn't a network problem as both link (Office and Home) are working at their max speed !



    First run is with SCP, second one with the same set of files throw HTTP OneDrive sync...



    Does someone knows if there is some sort of bottleneck with FTP through SSL ???


    Thanks,

    It dépends on the way the two servers are linked.


    You can still use synctoy in Win 2K12 with a SMB share of your OMV for example.


    For the transfert speed, that seems more of a network problem than a synctoy or rsync one IMO.

    Hi,


    I have modified /var/www/openmediavault/js/omv/module/admin/diagnostic/system/plugin/Cpu.js like this to point to my new Rrdgraph2.js



    Rights are correctly set for both files.


    I can't see any error in the debug tool of my browser, but the CPU panel vanishes from the WebUI...



    The only thing I have in "openmediavault-webgui_error.log" is :



    Code
    2018/04/29 20:21:11 [error] 1754#1754: *5450 open() "/var/www/openmediavault/scss/_core.scss" failed (2: No such file or directory), client: 192.168.0.11, server: openmediavault-we
    bgui, request: "GET /scss/_core.scss HTTP/1.1", host: "home-server.famille-bocquet.fr", referrer: "diagnostics://3/"
    2018/04/29 20:21:11 [error] 1754#1754: *5453 open() "/var/www/openmediavault/scss/_path.scss" failed (2: No such file or directory), client: 192.168.0.11, server: openmediavault-we
    bgui, request: "GET /scss/_path.scss HTTP/1.1", host: "home-server.famille-bocquet.fr", referrer: "diagnostics://3/"
    2018/04/29 20:21:11 [error] 1754#1754: *5447 open() "/var/www/openmediavault/scss/_icons.scss" failed (2: No such file or directory), client: 192.168.0.11, server: openmediavault-w
    ebgui, request: "GET /scss/_icons.scss HTTP/1.1", host: "home-server.famille-bocquet.fr", referrer: "diagnostics://3/"
    2018/04/29 20:21:11 [error] 1754#1754: *5455 open() "/var/www/openmediavault/scss/_extras.scss" failed (2: No such file or directory), client: 192.168.0.11, server: openmediavault-
    webgui, request: "GET /scss/_extras.scss HTTP/1.1", host: "home-server.famille-bocquet.fr", referrer: "diagnostics://3/"
    2018/04/29 20:21:11 [error] 1754#1754: *5457 open() "/var/www/openmediavault/scss/_animated.scss" failed (2: No such file or directory), client: 192.168.0.11, server: openmediavaul
    t-webgui, request: "GET /scss/_animated.scss HTTP/1.1", host: "home-server.famille-bocquet.fr", referrer: "diagnostics://3/"


    Is there any other log file I should check with OMV_DEBUG_EXTJS set to YES ?


    Both files src are in the first post.
    Thanks,