Affected versions: 26.04

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Root filesystem reaches 100 percent usage, services fail to write data, and apt cannot install updates.

Environment & Reproduction

Common on long-running servers with verbose logging and missing retention limits for journald and app logs.

Root Cause Analysis

systemd journal and rotating logs grow without strict caps, consuming critical disk space.

Quick Triage

Check storage with df -h and identify large directories using sudo du -xh /var –max-depth=2 | sort -h.

Step-by-Step Diagnosis

Measure journal footprint with journalctl –disk-usage and inspect hot log files in /var/log.

Solution – Primary Fix

Free space using sudo journalctl –vacuum-time=7d or –vacuum-size=500M, then configure SystemMaxUse in journald.conf.

Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches

Move application logs to separate volume and use logrotate tuning for aggressive compression and retention.

Verification & Acceptance Criteria

Free disk headroom restored and services write normally. Journal growth stays within configured limits.

Rollback Plan

If over-pruned logs are needed, restore from centralized logging or backup snapshots.

Prevention & Hardening

Enable disk usage alerts and enforce retention policies for both system and application logs.

Related failures include ‘No space left on device’ and apt cache write errors.

Related tutorial: View the step-by-step tutorial for Ubuntu 26.04 LTS.

View all Ubuntu 26.04 LTS tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

systemd-journald documentation, logrotate manual, and Ubuntu storage management guide.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.