I've got a weird inconsistency (although I'm probably just missing something quite basic). While running some script that generates small files on my I disk, I constantly get this error:

OSError: [Errno 28] No space left on device

But when I run df -h, I get:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              15G   12G  2.2G  85% /
udev                  502M  144K  502M   1% /dev
none                  502M     0  502M   0% /dev/shm
none                  502M   72K  502M   1% /var/run
none                  502M     0  502M   0% /var/lock
none                  502M     0  502M   0% /lib/init/rw

So am I low on disk-space or not?

Thanks for any input!

link|improve this question
Maybe the script filled up a filesystem, detected the error and removed the file(s) as part of its termination process. What files does the script try to write to? – Gilles Oct 11 '10 at 23:48
feedback

1 Answer

up vote 1 down vote accepted

You're probably out of inodes. Try df -i.

link|improve this answer
That's it! Thanks :) – Shmulik2004 Oct 12 '10 at 23:26
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.