Bash: No space left on device (inodes issue)

Posted on November 3, 2020 at 11:51 am

With “df -h” you may get like if all is fine, however…

This generally is an inodes issue, try to run this:

df -i

And you should see which partition has no space left.

Then try to run this command to know the real directory size:

du -sh /path/*

Once you know what is the folder that is full, just remove the files and that’s it.

In my case the issue was that a folder had too many files inside.

So I used the following command to remove all files:

for f in /path/images/*.png; do rm "$f"; done

And then problem solved!

Receive updates via email

Other Posts

Updated Posts