I’m running openhabian - Release = Raspbian GNU/Linux 12 (bookworm)
I’ve been having issues with my /var/log filling up all the time since I upgraded from an older openhabian release.
openhabian@opi:~ $ df -h | grep log
overlay2 452M 408M 9.1M 98% /var/log
I just deleted several filed to get it down to 98% full, but this is what it shows.
as per the the default setup, I have it mounted in /etc/ztab:
# log alg mem_limit disk_size target_dir bind_dir oldlog_dir
log zstd 200M 500M /var/log /log.bind
The strange thing to me here is that this is showing 408MB used (of 452). It seems strange as when I went through deleting anything in the MB range, I ended up with only files in the kB range left and it didn’t feel right that those kB files could add up to 400+MB.
So I check the dir usage with du, I get only 19M:
openhabian@opi:~ $ sudo du -sbh /var/log
19M /var/log
Where are these other 389MB being used?