π ~1 min read
Table of contents
Symptom & Impact
Applications fail to create files even though disk space appears available.
Environment & Reproduction
Common on log heavy workloads or cache directories with many small files.
df -h
df -i
find /var -xdev -type f | wc -l
Root Cause Analysis
A small number of directories consume most inodes due to tiny file churn.
Quick Triage
Identify mount points and top inode consuming paths.
df -i
for d in /var /tmp /home; do echo $d; find $d -xdev -type f | wc -l; done
Step-by-Step Diagnosis
Locate high density directories and determine retention gaps.
find /var -xdev -printf '%hn' | sort | uniq -c | sort -nr | head
journalctl --disk-usage

Solution – Primary Fix
Purge stale small files and rotate logs aggressively.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
find /var/tmp -xdev -type f -mtime +7 -delete
logrotate -f /etc/logrotate.conf
df -i

Solution – Alternative Approaches
Recreate filesystem with higher inode density during maintenance.
mkfs.xfs -i maxpct=25 /dev/vg0/lvvar
Verification & Acceptance Criteria
Inode usage returns below alert threshold and file creation resumes.
df -i
touch /var/tmp/inode_test_file
Rollback Plan
Restore accidentally removed files from backup snapshots.
rsync -a /backup/var/tmp/ /var/tmp/
Prevention & Hardening
Implement retention jobs and inode capacity monitoring.
crontab -l
find /var/tmp -xdev -type f -mtime +7 | wc -l
Related Errors & Cross-Refs
Can present with tmpfs pressure and application cache leaks.
Related tutorial: View the step-by-step tutorial for oracle-linux-10.
View all oracle-linux-10 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Oracle Linux filesystem capacity and retention policy documentation.
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.