FlasMemory (Folder2ram) plugin issue

  • 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

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

    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?

  • 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

  • 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.

    No it doesn't sync every hour. It syncs when rebooting. If your system loses power, it doesn't sync. It is very easy to add the syncall command in Scheduled Jobs to run on an interval that you want.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!