๐Ÿ“– ~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

Services fail to write logs or temp data due to full partition.

Environment & Reproduction

Busy host with high log volume and package cache accumulation.

Root Cause Analysis

Unbounded logs, crash dumps, and stale cache consume /var rapidly.

Quick Triage

Identify largest directories and immediate write-failure scope.

Step-by-Step Diagnosis

Use du and journalctl disk-usage tools to pinpoint growth sources.

Illustrative mockup for ubuntu-18-04-lts โ€” var_partition_full
/var usage reaching 100 percent โ€” Illustrative mockup โ€” Progressive Robot

Solution – Primary Fix

Clean caches, rotate logs, and expand filesystem where possible.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for ubuntu-18-04-lts โ€” var_cleanup_and_extend
Disk space reclaimed and capacity extended โ€” Illustrative mockup โ€” Progressive Robot

Solution – Alternative Approaches

Relocate bulky paths to dedicated volume with bind mounts.

Verification & Acceptance Criteria

Sustained free space and normal write operations confirmed.

Rollback Plan

Undo mount changes and restore prior log retention if needed.

Prevention & Hardening

Set quotas, retention limits, and proactive disk usage alerts.

Differentiate inode exhaustion from pure capacity depletion.

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

View all Ubuntu 18.04 LTS tutorials on the Tutorials Hub โ†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Ubuntu storage management and logrotate operational guidance.

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.