Hello,
tried to get an answer already on an existing thread. Unfortunately the thread was already tagged as solved. So it seems that no one was reading it.Hope a new thread won't be seen as spam from my side.
On my OMV 4.1.26 installation var/log is running out of space after a while. Available space is only 50M. When the space is out I receive error messages when I want to do a USB back up.
So here is what I found out so far after some debugging trials via shell:
root@Netzwerkspeicher:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 931M 0 931M 0% /dev
tmpfs 200M 19M 182M 10% /run
/dev/mmcblk1p2 7.4G 1.6G 5.2G 24% /
tmpfs 999M 8.0K 999M 1% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 999M 0 999M 0% /sys/fs/cgroup
tmpfs 999M 0 999M 0% /tmp
/dev/mmcblk1p1 58M 23M 33M 42% /boot
/dev/sda1 2.8T 748G 2.0T 27% /srv/dev-disk-by-label-Backupintern
armbian-ramlog 50M 50M 0M 100% /var/log
folder2ram 999M 24M 976M 3% /var/log.hdd
folder2ram 999M 0 999M 0% /var/tmp
folder2ram 999M 260K 999M 1% /var/lib/openmediavault/rrd
folder2ram 999M 1.4M 998M 1% /var/spool
folder2ram 999M 15M 984M 2% /var/lib/rrdcached
folder2ram 999M 8.0K 999M 1% /var/lib/monit
folder2ram 999M 4.0K 999M 1% /var/lib/php
folder2ram 999M 106M 893M 11% /var/lib/netatalk/CNID
folder2ram 999M 420K 999M 1% /var/cache/samba
tmpfs 200M 0 200M 0% /run/user/0
Alles anzeigen
root@Netzwerkspeicher:~# folder2ram -status
/var/log is mounted
/var/tmp is mounted
/var/lib/openmediavault/rrd is mounted
/var/spool is mounted
/var/lib/rrdcached is mounted
/var/lib/monit is mounted
/var/lib/php is mounted
/var/lib/netatalk/CNID is mounted
/var/cache/samba is mounted
Alles anzeigen
root@Netzwerkspeicher:~# armbianmonitor -u
System diagnosis information will now be uploaded to http://ix.io/1ZVr
Please post the URL in the forum where you've been asked for.
Disabling the armbian-ram-logging service in /etc/default/armbian-ramlog is changing it to folder2ram. Will there be any issues in the future disabling the log service?
Is there any other workaround for this topic how to switch from ram2log to folder2ram vor not running out of space for var/log?
Solved the topic temporarily with increasing the space from 50M to 100M. But won't solve the cause of it.
Would be great If someone can help me on that!