📖 ~1 min read
Table of contents
Symptom & Impact
Applications fail to create files with ENOSPC even though df shows free space.
Environment & Reproduction
Filesystem holds many small files and was created with default NBPI.
df -g /work
df -v /work
ls /work | wc -l
Root Cause Analysis
JFS2 has exhausted inode allocation because NBPI was set too high at creation.
Quick Triage
Confirm inode shortage rather than block shortage.
df -v /work
lsfs /work
istat /work
Step-by-Step Diagnosis
Compare used inodes to free inodes and check filesystem parameters.
df -v /work
lsjfs2 -q /work
find /work -xdev -type f | wc -l

Solution – Primary Fix
Extend the filesystem; JFS2 dynamically allocates more inodes on growth.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
chfs -a size=+2G /work
df -v /work
fsck -y /dev/fslv00

Solution – Alternative Approaches
Recreate the filesystem with a lower NBPI value and restore data from backup.
Verification & Acceptance Criteria
df -v shows additional free inodes and writes succeed.
df -v /work
touch /work/test
rm /work/test
Rollback Plan
Shrink filesystem only if PPs must be returned; data stays in place.
lsfs /work
chfs -a size=-1G /work
df -v /work
Prevention & Hardening
Tune NBPI per workload and monitor df -v inode utilization.
Related Errors & Cross-Refs
Related to mail/spool errors, log rotation failures, and tar restore errors.
Related tutorial: View the step-by-step tutorial for aix-7.2.
View all aix-7.2 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
IBM AIX 7.2 JFS2 filesystem reference.
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.