Posts by Rikoilas

    I'm using OMV since 4.x version.

    I have a barebone pc that uses as home NAS

    USB stick is used as boot media and HDD as a storage

    to save Flash at usb-stick FLASH-plugin is installed...


    everything works fine... but just about month or bit more...

    then i start receiving a segfault messages


    Unfortunately i didn't find how to fix this error...

    But if i reinstall it from scratch it works fine... but another month or two... :(


    now a have 5.5.14-1 version installed with all latest update

    and week ago i started to receive messages like

    "

    [ +0.000123] awk[406]: segfault at 7f24d17b9260 ip 00007f24cfc99c4e sp 00007fff064dd790 error 4 in ld-2.28.so[7f24cfc8f000+1e000]

    [ +0.000033] Code: 1f 44 00 00 4c 8b 73 08 45 89 f4 49 83 fc 25 0f 84 87 07 00 00 48 8b bd 60 ff ff ff 4c 89 f0 49 8b b7 e8 02 00 00 48 c1 e8 20 <0f> b7 14 47 48 8b bd 58 ff ff ff 48 8d 04 40 48 03 3b 48 89 bd 70

    "


    does anybody know why it happens?

    Is there any way to solve this error without reinstallation?


    I love omv so much, but it became terrible for me to use it :(

    thank you

    You can run a scheduled job every hour (or whatever you want)

    folder2ram -syncall


    A sync should happen at shutdown. Did you check if the logfiles are updated during shutdown?

    Thanks for your response.

    "folder2ram -syncall" works fine and all the info syncs.


    for sure i can use some cron rules to recall the command periodically... but is seems to me - that's workaround

    What is the default syncing mechanism? I suppose by design folder2ram must sync all the data periodically (once per hour). Unfortunately it doesn't do that in my installation.

    so in case of emergency power off it lose all the data since it wasn't synced automatically


    thanks in advanced

    Hi

    i have strange behavior of Flash Memory plugin (latest OMV 5)


    it seems to me, it doesn't store the data (sync data) upon reboot or shutdown

    1.so, it looks working - i can see (df -h)

    folder2ram 970M 13M 958M 2% /var/log

    folder2ram 970M 0 970M 0% /var/tmp

    folder2ram 970M 600K 970M 1% /var/lib/openmediavault/rrd

    folder2ram 970M 0 970M 0% /var/spool

    folder2ram 970M 7.7M 963M 1% /var/lib/rrdcached

    folder2ram 970M 4.0K 970M 1% /var/lib/monit

    folder2ram 970M 1.3M 969M 1% /var/cache/samba


    2. the graphs are generated at SystemInfo/Performace Statistics

    3. but if i reboot the omv, i get the clean pictures (actually the data that was synced manually by "folder2ram -sync" last time) and statistics starts collecting from the beginning so i'm loosing all the data since manual sync.


    Is there any ideas how to fix this issue?

    and how to adjust the service (folder2ram) to sync data periodically?


    Thanks in advance

    so, I found that problem is somewhere in init scripts....


    I run rrdcached manually with


    Code
    /usr/bin/rrdcached -B -F -f 3600 -w 900 -b /var/lib/rrdcached/db/ -j /var/lib/rrdcached/journal/ -p /var/run/rrdcached.pid -l unix:/var/run/rrdcached.sock

    and not it works...


    So, is there any ideas how to debug the init script?

    I have the similar issues with rrdcached service.


    there are no rrdcached.pid and rrdcached.sock at /var/run/
    there are no process at ps -ax | grep rrd


    i tried omv-firstaid - check RRD database
    and got the following


    Code
    Checking all RRD files. Please wait ...
    State file '/var/lib/monit/state': Unable to truncate
    All RRD database files are valid.
    'rrdcached' start: '/bin/systemctl start rrdcached'
    'rrdcached' failed to start (exit status 0) -- no output
    ERROR: Command '['monit', 'start', 'rrdcached']' returned non-zero exit status 1

    it seams that some monitoring state must be at /var/lib/monit/
    i suppose that it's created when monitorind is activated at webconfig
    but there are no state file in my config...


    Any advise are appreciated
    Thank's a lot


    PS. I'm using latest stable version with all updates installed
    ntp is used for the time sync
    as well Flash Memory plugin is installed