Steps
- For an existing directory such as /var/log run df -h /var/log and record available space and mount point.
- Run df -i /var/log, recording IUse% and IFree for the same filesystem.
- Keep the write error and time for administrator review without deleting logs or caches.
Interpretation
Free bytes do not guarantee new files can be created when inodes are exhausted. Review both resources.
Limits and next steps
This is not directory-size measurement. Missing inode statistics are not zero; permissions, quotas and read-only mounts require separate checks.