Affected versions: IBM AIX 7.1

📖 ~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

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
Illustrative mockup for aix-7.1 — terminal_or_shell
Checking inode usage with df -v on AIX — Illustrative mockup — Progressive Robot

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
Illustrative mockup for aix-7.1 — log_or_config
Growing JFS2 filesystem with chfs — Illustrative mockup — Progressive Robot

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 to mail/spool errors, log rotation failures, and tar restore errors.

Related tutorial: View the step-by-step tutorial for aix-7.1.

View all aix-7.1 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.