Linux: Disk Shows Free GB but Writes Fail with ENOSPC (100% Inodes)

Millions of tiny temp/cache/session files exhausted filesystem inodes.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Identifier: Linux: Disk Shows Free GB but Writes Fail with ENOSPC (100% Inodes) Platform: Linux

Interactive Diagnostic Checklist

Safe Diagnostic Command:
df -i && find /var -xdev -printf "%h\n" | sort | uniq -c | sort -rn | head

Technical Explanation

Millions of tiny temp/cache/session files exhausted filesystem inodes. Verified technical resolution: Locate the directory holding excessive small files and configure cleanup/retention.

Worked Examples

  • Diagnostic check: df -i && find /var -xdev -printf "%h\n" | sort | uniq -c | sort -rn | head

Limitations & Assumptions

  • Confirm exact software version and execution layer before applying configuration changes in production.

Source References & Verification

Resource ID: err-linux-inode-exhaustion · Independently verified: 2026-11-25

Related Resources