4 ms·
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
by mobilio 6y 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/zram.html https://www.kernel.org/doc/html/latest/admin-guide/blockdev/...
- dundarious 6y agoOr 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.