pdieguez Posted October 19, 2024 Posted October 19, 2024 Armbianmonitor: https://paste.armbian.com/diziviwajo Hello all, I am running an Orange Pi 5 board with Armbian on a SD Card and I realized that my /var/log path is constantly full, with it being at /dev/zram1 It gets full at 50Mb with the file /var/log/samba/cores/smbd/core taking up all the space I have not managed to read this file, so I can't tell what kinds of errors are showing up. My OpenMediaVault and samba setup are running perfectly fine, and even though I delete this core file, it shows up again during reboot. I have tried to set enable core files = no in smb.conf With no sucess. The file continues to show up during reboot. Any ideas how to solve this? Best regards 0 Quote
ozacas Posted October 24, 2024 Posted October 24, 2024 Hi, Writing logs to certain types of storage can shorten the lifetime of the media (although it can be difficult to identify the impact of lifetime of writing logs due to commercial sensitivity). To address this, Armbian uses memory (RAM) instead. This can be disabled by editing /etc/default/armbian-zram-config and changing the line ENABLED=true at the risk of shortening the longevity of your storage. YMMV. You will need to reboot for the change to take effect. If you prefer to alter logging level for samba, perhaps this is what you need (although 50MB is not a lot of logs these days) - https://wiki.samba.org/index.php/Setting_the_Samba_Log_Level 0 Quote
JohnU Posted Saturday at 03:39 AM Posted Saturday at 03:39 AM (edited) I had the same problem with /var/log filling up. It was causing Jellyfin playback to fail. I tried disabling armbian-zram-config service in the config file, but then the /var/log got mounted to an armbian-ramlog device that is the same 50M size. So I ended up changing the armbian-ramlog size to 500M in it's config file and re-enabling the armbian-zram-config service in it's config file. Now it's once again mounted to /dev/zram1, but it's now 500M. Edited Saturday at 03:47 AM by JohnU 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.