Re: Corruption problem with ext3 and htree

Martin Schlemmer (azarah@gentoo.org)
Tue, 11 Mar 2003 21:17:22 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-15885-1047410862-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On Tue, 11 Mar 2003 01:19:11 -0500
Theodore Ts'o <tytso@mit.edu> wrote:

> Hmm... can you help construct a test case that doesn't rely on the
> presence of the Gentoo distribution? Is there some way we can
> instrument the python code so we can see the exact filesystem
> operations (renames, deletions, moves, etc.) that is going on? The
> good news is that you say that you're able to reproduce it every
> single time, which implies it's not a timing related problem.
>

I just compile perl-5.8.0, and then install it.

----------------------------------------------------
nosferatu perl-5.8.0 # ls /space/var/tmp/portage/perl-5.8.0-r10/image
nosferatu perl-5.8.0 # make
DESTDIR="/space/var/tmp/portage/perl-5.8.0-r10/image"
INSTALLMAN1DIR="/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/m
an/man1"
INSTALLMAN3DIR="/space/var/tmp/portage/perl-5.8.0-r10/image/foo/usr/sha
re/man/man3" install > /dev/null make[1]: [extras.make] Error 1
(ignored) make[2]: [extras.install] Error 1 (ignored)
nosferatu perl-5.8.0 # ls
/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/man/man3/Hash\:\:
Util.* -al ls:
/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/man/man3/Hash::Ut
il.tmp: No such file or directory-rw-r--r-- 1 root root
6435 Mar 11 20:54
/space/var/tmp/portage/perl-5.8.0-r10/image/usr/share/man/man3/Hash::Ut
il.3pm nosferatu perl-5.8.0 #
-------------------------------------------------------------

Bad past, thus attached as well.

> It could possibly be a hash value dependent problem, which case it
> could be related to the filename. That's not very likely, but it is
> possible. If you could send us the result of "dumpe2fs -h /dev/XXXX",
> that would be useful. In particular the last two lines:
>
> Default directory hash: tea
> Directory Hash Seed: 407dbbca-8326-4bed-bc7c-bb0453f79049
>
> The most important thing though is to be able to reduce the test case
> to something which is slightly easier for us ext2/3 developers to run.
>

Seems like its creating 'Hash::Util.tmp' as a directory for some reason,
while it should be a 'tmp' file when installing the man pages.

Is there some other hash algorithm I could try ? Just to verify if it
is that ? Problem is that If I try to recreate it without the make
install, I do not really succeed.

Regards,

-- 

Martin Schlemmer

--=_courier-15885-1047410862-0001-2 Content-Type: application/octet-stream; name=foo Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="foo"

bm9zZmVyYXR1IHBlcmwtNS44LjAgIyBscyAvc3BhY2UvdmFyL3RtcC9wb3J0YWdlL3BlcmwtNS44 LjAtcjEwL2ltYWdlCm5vc2ZlcmF0dSBwZXJsLTUuOC4wICMgbWFrZSBERVNURElSPSIvc3BhY2Uv dmFyL3RtcC9wb3J0YWdlL3BlcmwtNS44LjAtcjEwL2ltYWdlIiBJTlNUQUxMTUFOMURJUj0iL3Nw YWNlL3Zhci90bXAvcG9ydGFnZS9wZXJsLTUuOC4wLXIxMC9pbWFnZS91c3Ivc2hhcmUvbWFuL21h bjEiIElOU1RBTExNQU4zRElSPSIvc3BhY2UvdmFyL3RtcC9wb3J0YWdlL3BlcmwtNS44LjAtcjEw L2ltYWdlL2Zvby91c3Ivc2hhcmUvbWFuL21hbjMiIGluc3RhbGwgPiAvZGV2L251bGwKbWFrZVsx XTogW2V4dHJhcy5tYWtlXSBFcnJvciAxIChpZ25vcmVkKQptYWtlWzJdOiBbZXh0cmFzLmluc3Rh bGxdIEVycm9yIDEgKGlnbm9yZWQpCm5vc2ZlcmF0dSBwZXJsLTUuOC4wICMgbHMgL3NwYWNlL3Zh ci90bXAvcG9ydGFnZS9wZXJsLTUuOC4wLXIxMC9pbWFnZS91c3Ivc2hhcmUvbWFuL21hbjMvSGFz aFw6XDpVdGlsLiogLWFsCmxzOiAvc3BhY2UvdmFyL3RtcC9wb3J0YWdlL3BlcmwtNS44LjAtcjEw L2ltYWdlL3Vzci9zaGFyZS9tYW4vbWFuMy9IYXNoOjpVdGlsLnRtcDogTm8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