FULL AI ANALYSIS

systemd‑journald journal files balloon to fill root on Ubuntu 22.04 overlay root after journal file corruption

Generated Oct 21, 2026, 9:46:27 AM

Analysis summary

Persistent journals on overlayfs are known to exhibit partial-write/corruption behavior when the underlying overlay or its backing store surface write ordering issues; systemd then attempts rebuilds and creates large temp files, quickly exhausting disk. Repeated rebuilds plus possible noisy services amplify growth. Corruption plus overlayfs write semantics makes safe in-place recovery fragile. The highest-probability cause is journal corruption aggravated by overlayfs/O_SYNC interaction; runaway service logging is a secondary amplifier.

Possible causes

Journal file corruption due to overlayfs/write ordering with persistent journal on an overlay root

80%

A service rapidly logging structured binary entries that trigger repeated rebuild attempts

45%

Filesystem metadata/inode exhaustion on small root partition causing failed journal writes

30%

systemd-journald bug in this systemd/kernel combination causing improper rebuild behavior

25%

Suggested fixes

1

Diagnostic step 1

Stop or mask noisy services temporarily (systemctl stop <service>) to limit log volume.

2

Diagnostic step 2

Move the corrupted journal files to an external filesystem: mkdir /mnt/tmpjournal; systemctl stop systemd-journald; mv /var/log/journal /mnt/tmpjournal; mkdir /var/log/journal; systemctl start systemd-journald.

3

Diagnostic step 3

Enable rate limiting in /etc/systemd/journald.conf (RateLimitIntervalSec, RateLimitBurst) and restart journald.

4

Diagnostic step 4

Create a persistent journal on a separate larger block volume (mount and point /var/log/journal there) or disable persistent journaling (Storage=volatile) until underlying overlayfs issue resolved.

5

Diagnostic step 5

Collect journalctl --verify output and syslog snippets and escalate if vendor/kernel patch recommended.