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.

After spending a day crushing my head on the desk I would appreciate some help.

I'm running a Squid-Proxy on Fedora 14. Even if I try to touch /tmp/foo I'll receive a "no space left on device" error. I've already ran fsck. If I delete a file of say, 1MB, I'm able to store 1MB of data again but no more than that. Of note is that I have plenty of free space:

df output:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             16311208   7614872   7867768  50% /
tmpfs                  1028548         0   1028548   0% /dev/shm
/dev/sda1               198337     55345    132752  30% /boot
/dev/sdb1             25803036  19407324   5084996  80% /mnt/squid-cache

Anyone have an idea what I can try to "reclaim" the free space?

share|improve this question

2 Answers 2

up vote 13 down vote accepted

At a guess you've run out of inodes rather than disk blocks - that is to say you have the limit on the number of files the filesystem can hold rather than the limit on the total amount of data.

You can use df -i to check this.

share|improve this answer
Weird that he would run out of inodes at a nice round 50% disk space though... but worth looking into; Squid does create lots of files. –  ultrasawblade Jul 13 '11 at 13:40
TomH you nailed it. It's exactly the case... "iFree = 0" Thanks very much for this hint! –  Layticia Jul 13 '11 at 13:47
@ultrasawblade the squid-cache-dir is on an other disk (sdb) the problem is on the system-disk (sda). I'm generating "sarg" reports and this means lots of files from the last 12 month. –  Layticia Jul 13 '11 at 13:52
B/c my disk is full.. and needs more space, it looks like forums.fedoraforum.org/showthread.php?t=246302 says I need to reformat. When reformatting, will pick XFS -- looks like it will let me scale. –  jedierikb Jul 10 '12 at 13:41

Linux reserves a percentage of blocks for the superuser. It's normally set at 5%. 50% is unusually high. With tune2fs -m you can change that.

share|improve this answer

Your Answer


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.