Error: no space left on device when saving file (but there is space)

rubystorageunix

I am implementing in ruby however when I want to save my work I get

"Opening output file: no space left on device, /afs/edu/usr7/ael/p\
rivate/RUBY/inc.rb"

When I checked if I got any space using df -h this is what appeared:

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg1-lv_root
                       55G   21G   32G  39% /
tmpfs                 1.9G   36K  1.9G   1% /dev/shm
/dev/sda1             485M   60M  400M  14% /boot
AFS                   8.6G     0  8.6G   0% /afs

It seems like I do have space, I dont know why I cant save though. What seems to be the prolem here?

df -i shows:

Filesystem            Inodes  IUsed   IFree IUse% Mounted on
/dev/mapper/vg1-lv_root
                     3645440 571814 3073626   16% /
tmpfs                 490631      3  490628    1% /dev/shm
/dev/sda1             128016     45  127971    1% /boot
AFS                  9000000      0 9000000    0% /afs

looks like I have available inodes as well.

Best Answer

You are dealing with AFS, which is a networked file system. I suspect that you are probably bumping into a quota limit. You will need to work with the administrator of that service.