Daily Cron e-mail from openmediavault-check_locked_users ?

    • OMV 4.x
    • ryecoaaron wrote:

      I will have to add a checkbox (and maybe a number of hours between syncs box) or something to enable a scheduled sync. Even if the write amplication is low, I still don't want it running on my systems that have a UPS

      Agreed. I would make the default an 4 hour interval and setting to 0 disables it. No idea whether current installation should be 'upgraded' wrt this default or users need to know about to enable this feature after a future update...

      Wrt amount of data to be written: when we started with this approach in Armbian we had the same concerns and came up with rsync, keeping old logs on storage and trying to reduce writes as much as possible. Still not to our satisfaction since currently there's an issue with logrotate. But too exhausted currently to look into... I'll drop you a note once we improved the situation.
    • tkaiser wrote:

      Agreed. I would make the default an 4 hour interval and setting to 0 disables it. No idea whether current installation should be 'upgraded' wrt this default or users need to know about to enable this feature after a future update...

      Wrt amount of data to be written: when we started with this approach in Armbian we had the same concerns and came up with rsync, keeping old logs on storage and trying to reduce writes as much as possible. Still not to our satisfaction since currently there's an issue with logrotate. But too exhausted currently to look into... I'll drop you a note once we improved the situation.
      I like that better than a checkbox and number box. On upgraded systems, the plugin runs omv-mkconf flashmemory on every install. So, it would create the sync cronjob (assuming the default number of hours is greater than 0). The rsync point is a good point. It would only be writing changed blocks and folder2ram is using rsync. I will have to look at a few things.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      I will have to look at a few things

      We found logrotate to be challenging in particular. As an inspiration: github.com/armbian/build/tree/…sp/common/usr/lib/armbian
      BTW: both mechanisms combined look somewhat weird:

      Source Code

      1. root@espressobin:~# df -h
      2. Filesystem Size Used Avail Use% Mounted on
      3. udev 486M 0 486M 0% /dev
      4. tmpfs 100M 11M 89M 11% /run
      5. /dev/sdb1 7.3G 2.6G 4.6G 36% /
      6. tmpfs 497M 0 497M 0% /dev/shm
      7. tmpfs 5.0M 4.0K 5.0M 1% /run/lock
      8. tmpfs 497M 0 497M 0% /sys/fs/cgroup
      9. tmpfs 497M 4.0K 497M 1% /tmp
      10. /dev/zram0 49M 3.9M 42M 9% /var/log
      11. folder2ram 497M 0 497M 0% /var/tmp
      12. folder2ram 497M 3.0M 494M 1% /var/log.hdd
      13. folder2ram 497M 196K 497M 1% /var/lib/openmediavault/rrd
      14. folder2ram 497M 16K 497M 1% /var/spool
      15. folder2ram 497M 11M 486M 3% /var/lib/rrdcached
      16. folder2ram 497M 8.0K 497M 1% /var/lib/monit
      17. folder2ram 497M 0 497M 0% /var/lib/php
      18. folder2ram 497M 29M 468M 6% /var/lib/netatalk/CNID
      19. folder2ram 497M 416K 497M 1% /var/cache/samba
      20. /dev/sda1 466G 425G 39G 92% /srv/dev-disk-by-label-BACKUP
      21. tmpfs 100M 0 100M 0% /run/user/1000
      22. tmpfs 100M 0 100M 0% /run/user/0
      Display All
    • mrperfektone wrote:

      Tkaiser Can you tell me which file to add / sbin /?

      Look at your first post in this thread. You need to edit the file in /etc/cron.daily/ and add /sbin/ directly in front of pam_tally2. If that's too much then please simply disable the notification. Why are you so keen on getting totally useless mails all the time? Which insights do you get from these mails? None!
    • mrperfektone wrote:

      If the server goes down or the web interface is down or there are other errors, I also get notified of them or there are problems with a mount point or something else
      You're using an ODROID-XU4 with more than one external USB3 disk. Please check my signature. Instead of fighting the symptoms I would better solve your problem. None of my OMV boxes shows any weird behavior since I kick unreliable hardware out of the window. Way too much time wasted with problems no one needs...

      These is a ton of reasons why exactly ODROID-XU4 doesn't work reliably.
    • Users Online 1

      1 Guest