Hacker News new | ask | show | jobs
by mobilio 2053 days ago
Write lifespan can be improvement if you make some similar as this: /dev/mmcblk0p1 on /var/log.hdd type ext4 (rw,noatime,nodiratime,errors=remount-ro,commit=600) /dev/zram0 on /var/log type ext4 (rw,relatime,discard)

Because zram is compressed ram disk: https://www.kernel.org/doc/html/latest/admin-guide/blockdev/...

1 comments

Or for those using journald, use Storage=volatile in /etc/systemd/journald.conf and then `systemctl force-reload systemd-journald`. Remove /var/log/journal to get rid of the old persisted logs.