[systemd-devel] journal fragmentation on Btrfs

Andrei Borzenkov arvidjaar at gmail.com
Mon Apr 17 17:27:00 UTC 2017


17.04.2017 19:25, Chris Murphy пишет:
> This explains one system's fragmented journals; but the other system
> isn't snapshotting journals and I haven't figured out why they're so
> fragmented. No snapshots, and they are all +C at create time
> (systemd-journald default on Btrfs). Is it possible to prevent
> journald from setting +C on /var/log/journal and
> /var/log/journal/<machineid>? If I remove them, at next boot they get
> reset, so any new journals created inherit that.
> 

Yes, should be possible by creating empty
/etc/tmpfiles.d/journal-nocow.conf.




More information about the systemd-devel mailing list