Red Hat Bugzilla – Bug 477001
ext4: "No space left on device" incorrectly reported
Last modified: 2009-03-11 23:02:15 EDT
Description of problem:
The root filesystem on my Fedora 10 laptop is ext4. Multiple times now (every few days it seems like) the filesystem reports back there is no space left on the device, even though that's not the case. If I reboot the filesystem goes back to a normal state:
# touch /testfile.txt
touch: cannot touch `/testfile.txt': No space left on device
/dev/mapper/vg01-lv01 on / type ext4 (rw)
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg01-lv01 15094792 4865328 9462696 34% /
# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg01-lv01 958464 192170 766294 21% /
I do not see any errors in dmesg that are related to this.
Version-Release number of selected component (if applicable):
I have not noticed any usage pattern that triggers this. In my most recent case the laptop had been on for only a few minutes.
There is a suspend to RAM bug I'm fighting right now that often makes me hard poweroff my laptop, so that could possibly be a factor (although the filesystem always comes up fine after boot).
I'm attaching the tune2fs output at the time of occurrence.
Created attachment 327701 [details]
Evan, thanks, there are some known space-accounting problems yet... though also, I wonder about a patch I had in there causing problems. The patch got inadvertently dropped, though, so we have an accidental chance to check something. :) Do you see the problem with, say, 220.127.116.11-140 and later?
I upgraded to 18.104.22.168-159.fc10 on Dec 26th and I don't remember experiencing this since then. Definitely not in the last week. I'll keep watching for it to occur and will let you know if it does.
I haven't seen this problem since upgrading to 22.214.171.124-159.fc10 which was almost a month ago. I'm fine with closing this bug if you'd like.
There was a bug in the inode allocator that was the most likely cause of this; it was fixed as of 2.6.29-0.122.rc5; I'm going to close on that assumption.
Thanks for the report, and sorry it took a while to track down :)