robbat2: (Default)
robbat2 ([personal profile] robbat2) wrote2004-09-22 12:21 am

ext3 bug...

Bah, this is what I get for being on the bleeding edge...

root@hevesy-int /dev/shm # dd if=/dev/urandom of=/tmp/testfile bs=1k count=4
4+0 records in
4+0 records out
root@hevesy-int /dev/shm # file /tmp/testfile
/tmp/testfile: empty
root@hevesy-int /dev/shm # dd if=/dev/urandom of=/tmp/testfile bs=1k count=5
5+0 records in
5+0 records out
root@hevesy-int /dev/shm # file /tmp/testfile
/tmp/testfile: data

As at 2.6.9-rc1-mm1, ext3 fails with files that are exactly 4kb in size.

[identity profile] deskitty.livejournal.com 2004-09-22 07:45 am (UTC)(link)
Oooops. Have you fscked, and is it leaking blocks, or just losing them?

This is why I don't use ext3....

[identity profile] afreak2600.livejournal.com 2004-09-22 10:13 am (UTC)(link)
Have you tested it with any other kernel? I am wondering if I should boot into Debian and see how it functions under 2.6.7.

[identity profile] robbat2.livejournal.com 2004-09-22 07:43 pm (UTC)(link)
The fix is in 2.6.9-rc1-mm2 already.
I've left the box upgrading to 2.6.9-rc2-mm1 anyway.