📖 ~1 min read
Table of contents
Symptom & Impact
Writes to /tmp fail with ‘No space left on device’ even though df -g shows free blocks.
Environment & Reproduction
Apps that create millions of small files in /tmp exhaust the inode pool.
Root Cause Analysis
JFS2 was created with default nbpi; inode usage hits 100% while blocks are still free.
Quick Triage
Run df -v /tmp to see %Iused and du -sm /tmp/* to find directories with many small files.
Step-by-Step Diagnosis
Inspect /tmp owners with ls -1U /tmp | wc -l and find /tmp -xdev -type f | wc -l.

Solution – Primary Fix
Clear obsolete files, then grow inode count by recreating /tmp with smaller nbpi via crfs.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Move the heavy producer to a dedicated JFS2 with tuned nbpi or to /var/tmp.
Verification & Acceptance Criteria
df -v /tmp shows %Iused < 50% and application writes resume.
Rollback Plan
If the new /tmp causes regressions, revert to the previous LV from mksysb.
Prevention & Hardening
Cap producer behavior with file age cleanups and per-app temp directories.
Related Errors & Cross-Refs
Often co-occurs with jfs2-filesystem-full alerts.
Related tutorial: View the step-by-step tutorial for aix-7.3.
View all aix-7.3 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
IBM AIX 7.3 crfs and nbpi tuning 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.