Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

share|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
add comment

1 Answer

up vote 2 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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