Ah, ha. I think I know what happened.
What version of e2fsprogs were you using? If it was 1.28, that would
explain what you saw. There was a fencepost error that could corrupt
directories when it was optimizing/rehashing them. This bug was fixed
in in the next version, which was rushed out the door as a result of
this bug. Fortunately, 1.28 didn't get adopted by any distro's as far
as I know, and not that many people downloaded and compiled e2fsprogs
1.28.
If you're not using the latest version of e2fsprogs, which is
e2fsprogs 1.32, I'd strongly suggest updating to it. Version 1.28 is
just *so* three months ago. :-)
- Ted
P.S. If you do have a directory which is corrupted by e2fsck 1.28, no
data is lost; it just created a directory entry which is too small, so
it triggers the sanity checks in the kernel. Running e2fsck version
1.29 or later will unbork the directory.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/