Skip to contentSkip to conversation

2.6.27 & ext4 strangeness

DISCUSSION Alex Buell 2 participants 4 messages Jan 30, 2009 – Feb 3, 2009

lore
Share & tools
lore

Alex Buell

author
#0 lore raw

Hi,

As this has happened three times in the last 24 hours, I thought I'd report this. Whenever my laptop locks up, I have to powercycle. After rebooting, and fsck.ext4 reports a clean filesystem, often I get a 'no space on device' error even though I have plenty of disk space left. Another reboot with a forced fsck.ext4 cures this, every time. This only happens with ext4 filesystems used as the root filesystem.

Signature · 3 lines
http://www.munted.org.uk

Fearsome grindings.
#1 lore raw
Quoted 7 lines · Alex Buell

As this has happened three times in the last 24 hours, I thought I'd report this. Whenever my laptop locks up, I have to powercycle. After rebooting, and fsck.ext4 reports a clean filesystem, often I get a 'no space on device' error even though I have plenty of disk space left. Another reboot with a forced fsck.ext4 cures this, every time. This only happens with ext4 filesystems used as the root filesystem.

If you can reproduce this, can you send me the output of "df /; df -i /; dumpe2fs /dev/XXX" (where XXX is your root device) before you reboot and force an fsck? And then can you send me the output of "df / ; df -i /; dumpe2fs /dev/XXX" after the 2nd reboot and forced fsck. I've never seen anything like this, so I don't know what to make of it.

It also would be interesting to see if you can reproduce it running a kernel from the ext4-stable branch of the ext4 tree:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git

This has all of the ext4 fixes that is in the latest mainline, based on the 2.6.28 kernel.

Thanks for reporting your observations,

- Ted

author
#2 lore raw

On Fri, 30 Jan 2009 19:09:17 -0500, I waved a wand and this message magically appears in front of Theodore Tso:

Quoted 10 lines · Alex Buell
Quoted 8 lines

As this has happened three times in the last 24 hours, I thought I'd report this. Whenever my laptop locks up, I have to powercycle. After rebooting, and fsck.ext4 reports a clean filesystem, often I get a 'no space on device' error even though I have plenty of disk space left. Another reboot with a forced fsck.ext4 cures this, every time. This only happens with ext4 filesystems used as the root filesystem.

Quoted 6 lines

If you can reproduce this, can you send me the output of "df /; df -i /; dumpe2fs /dev/XXX" (where XXX is your root device) before you reboot and force an fsck? And then can you send me the output of "df / ; df -i /; dumpe2fs /dev/XXX" after the 2nd reboot and forced fsck. I've never seen anything like this, so I don't know what to make of it.

It's happened again this morning before your e-mail arrived. I'm now sure I can reproduce it every time the laptop locks up. The next time it happens I'll do as you request.

Regards
Alex

Signature · 3 lines
http://www.munted.org.uk

Fearsome grindings.
author
#3 lore raw
In reply to Theodore Tso

On Fri, 30 Jan 2009 19:09:17 -0500, I waved a wand and this message magically appears in front of Theodore Tso:

Quoted 7 lines

If you can reproduce this, can you send me the output of "df /; df -i /; dumpe2fs /dev/XXX" (where XXX is your root device) before you reboot and force an fsck? And then can you send me the output of "df / ; df -i /; dumpe2fs /dev/XXX" after the 2nd reboot and forced fsck. I've never seen anything like this, so I don't know what to make of it.

Quoted 8 lines

It also would be interesting to see if you can reproduce it running a kernel from the ext4-stable branch of the ext4 tree:

git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git
http://git.kernel.org/?p=linux/kernel/git/tytso/ext4.git

This has all of the ext4 fixes that is in the latest mainline, based on the 2.6.28 kernel.

I've not been able to reproduce this yet but when it happens again I will drop you a email. I'm actually quite happy with ext4 ever since I switched all my boxes over to that filesystem.

Thanks.

Signature · 3 lines
http://www.munted.org.uk

Fearsome grindings.