A filesystem can run out of inodes while it still has free disk space. This can happen when a workload creates many small files. Check both figures for the filesystem you are troubleshooting.
df -h /
df -i /
On a GNU/Linux system, these commands help locate directories that occupy the most space or use the most inodes. Run them on the affected mount point. A large tree can take time to scan.
sudo du -xh --max-depth=1 / | sort -h
sudo du -x --inodes --max-depth=1 / | sort -n