* reiser4 corruption problem (maybe related to "Broken reiser4 FS")
@ 2004-08-26 23:15 Michael Weissenbacher
2004-08-27 11:30 ` Francesco Biscani
2004-08-28 21:49 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
0 siblings, 2 replies; 7+ messages in thread
From: Michael Weissenbacher @ 2004-08-26 23:15 UTC (permalink / raw)
To: reiserfs-list
i've tested reiser4 on a spare partition to see how well it would work
for me. unfortunately i hit some corruption problem. it seems perfectly
reproducable, so hardware error is very unlikely.
first some details on my system:
AMD Athlon(tm) XP 2400+
512 MB DDR-RAM (tested with memtest)
MSI K7N2G board (nforce2 chipset)
hard disk for testing: MAXTOR 6L080J4 (80GB), partitioned like:
Device Boot Start End Blocks Id System
/dev/hdb1 1 4866 39086113+ 83 Linux
/dev/hdb2 4867 9732 39086145 83 Linux
criminal mnt # uname -a
Linux criminal 2.6.8.1-mm4 #4 Wed Aug 25 01:34:48 CEST 2004 i686 AMD
Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux
the distro is gentoo and i use reiser4progs1.0.1
the test i did is rather simple: i have a 2.3GB .tar.bz2 file that
cotains 66588 files and about 3.1GB of data. in the first test i
formatted /dev/hdb1 as reiser4 and /dev/hdb2 as reiser3. i extracted the
.tar.bz2 on both of them. after that i umounted both and ran a fsck on
them. the reiser3 partition was ok, but the reiser4 partition was
corrupted.
ok, but what's really intersting now:
i reformatted both partitions and switched hdb1 to reiser3 and hdb2 to
reiser4. i extracted the same file on both and what happens? exaclty the
same corrutions now on hdb2 (at least the count is the same and the
errors look very similar)! and again reiser3 is ok!
i put the output of both tests into a file that is available at
http://www.dermichi.com/ablage/reiser4/reiser4_troubles.txt
i've already had the exact same problems before, i mean errors like:
FSCK: Directory [109e8:416c7400000000:109ee] (dir40), node [216782],
item [1],
unit [22]: entry has wrong offset
[109ee:0(NAME):142657765726275:6e6746fc72416e77:135160352fe624]. Should be
[109ee:0(NAME):142657765726275:6e6746fc72416e77:13514d8cfe19f4].
while doing random other things on reiser4 partitions and fsck'ing
afterwards. using --build-fs created lots of files under lost+found and
i started over. i will leave the fs this time, maybe i can try some
things to find the cause of the problem.
anyone got an idea?
thanks,
michael weissenbacher
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: reiser4 corruption problem (maybe related to "Broken reiser4 FS")
2004-08-26 23:15 reiser4 corruption problem (maybe related to "Broken reiser4 FS") Michael Weissenbacher
@ 2004-08-27 11:30 ` Francesco Biscani
2004-08-27 11:46 ` Michael Weissenbacher
2004-08-28 21:49 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
1 sibling, 1 reply; 7+ messages in thread
From: Francesco Biscani @ 2004-08-27 11:30 UTC (permalink / raw)
To: reiserfs-list; +Cc: Michael Weissenbacher
Hi,
On Friday 27 August 2004 01:15, Michael Weissenbacher wrote:
> criminal mnt # uname -a
> Linux criminal 2.6.8.1-mm4 #4 Wed Aug 25 01:34:48 CEST 2004 i686 AMD
> Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux
> the distro is gentoo and i use reiser4progs1.0.1
This may be a long shot, but from the readme on kernel.org it seems that
2.6.8.1-mm4 could have random breakage:
"- This kernel has an x86 patch which alters the copy_*_user() functions so
they will return -EFAULT on a fault rather than the number of bytes which
remain to be copied. This is a bit of an experiment, because this seems to
be the preferred API for those functions. It's a see-what-breaks thing.
And things will break. If weird behaviour is observed, please revert
usercopy-return-EFAULT.patch and send a report."
So maybe you could try 2.6.9-rc1-mm1 amd see if the problem persists. I've
heard other users having problems with that particular -mm release and
reiser4.
> thanks,
> michael weissenbacher
Regards,
Francesco
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: reiser4 corruption problem (maybe related to "Broken reiser4 FS")
2004-08-27 11:30 ` Francesco Biscani
@ 2004-08-27 11:46 ` Michael Weissenbacher
0 siblings, 0 replies; 7+ messages in thread
From: Michael Weissenbacher @ 2004-08-27 11:46 UTC (permalink / raw)
To: reiserfs-list; +Cc: Francesco Biscani
> So maybe you could try 2.6.9-rc1-mm1 amd see if the problem persists. I've
> heard other users having problems with that particular -mm release and
> reiser4.
today i've switched to 2.6.9-rc1-mm1 and i'm running the tests again
now. for the moment it looks like two different problems: one is data
corruption and the other is related to using german umlauts in file
names. i'll get back later to report the results.
thanks for your time
michael
^ permalink raw reply [flat|nested] 7+ messages in thread
* fsck.reiser4 problem (was: reiser4 corruption problem)
2004-08-26 23:15 reiser4 corruption problem (maybe related to "Broken reiser4 FS") Michael Weissenbacher
2004-08-27 11:30 ` Francesco Biscani
@ 2004-08-28 21:49 ` Michael Weissenbacher
2004-08-29 6:54 ` Adrian Ulrich
1 sibling, 1 reply; 7+ messages in thread
From: Michael Weissenbacher @ 2004-08-28 21:49 UTC (permalink / raw)
To: ReiserFS List
> i've already had the exact same problems before, i mean errors like:
> FSCK: Directory [109e8:416c7400000000:109ee] (dir40), node [216782],
> item [1],
> unit [22]: entry has wrong offset
> [109ee:0(NAME):142657765726275:6e6746fc72416e77:135160352fe624]. Should be
> [109ee:0(NAME):142657765726275:6e6746fc72416e77:13514d8cfe19f4].
> while doing random other things on reiser4 partitions and fsck'ing
> afterwards. using --build-fs created lots of files under lost+found and
> i started over. i will leave the fs this time, maybe i can try some
> things to find the cause of the problem.
i've investigated this problem further the last days and came to the
following conclusions:
- 2.6.9-rc1-mm1 has a bug that affects all filesystems (pointed out
earlier today). so don't use if you love your data ;)
- reiser4 is stable for me on 2.6.8.1-mm4 (i compared the directories
with diff and there were no differences)
- the problem with fsck.reiser4 mentioned above persists. it does not
like some file names on my partition and then thinks that there are
fatal corruptions. using "fsck.reiser4 --build-fs" actually destroys
some data then by moving some correct files to lost+found. the filenames
fsck does not like all contain german umlauts. but otoh there are
filenames with umlauts that are ok!
here are some filenames that fail:
BewerbungFürAnwaltsbüro.doc
Graphik01Markenidentität.sxd
SkriptumzumSeminarFühren.doc
WieTeamseffizientwerdenkönnen.doc
but otoh these work:
WerbeKärntnerBallonwerbung.sxw
Vo 08 - 29. März 2001.pdf
TschöranKirche.jpg
VölkermarktKircheGross.jpg
i know that it's never a good idea to use such characters in a file
name, but tell this to the users ... hopeless!
as i already mentioned earlier, this is with reiserfsprogs-1.0.1
what i learned: don't trust fsck.reiser4 if it says there is corruption
(yes i know, it could have read README before... sigh)
Michael
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fsck.reiser4 problem (was: reiser4 corruption problem)
2004-08-28 21:49 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
@ 2004-08-29 6:54 ` Adrian Ulrich
2004-08-29 8:51 ` fsck.reiser4 problem Michael Weissenbacher
0 siblings, 1 reply; 7+ messages in thread
From: Adrian Ulrich @ 2004-08-29 6:54 UTC (permalink / raw)
To: reiserfs-list
Hello,
> - 2.6.9-rc1-mm1 has a bug that affects all filesystems (pointed out
> earlier today). so don't use if you love your data ;)
Can you tell us more about this bug?
(I'm using 2.6.9-rc1-mm1 and would like to know, what will happen ;) )
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fsck.reiser4 problem
2004-08-29 6:54 ` Adrian Ulrich
@ 2004-08-29 8:51 ` Michael Weissenbacher
0 siblings, 0 replies; 7+ messages in thread
From: Michael Weissenbacher @ 2004-08-29 8:51 UTC (permalink / raw)
To: Adrian Ulrich; +Cc: ReiserFS List
>>- 2.6.9-rc1-mm1 has a bug that affects all filesystems (pointed out
>>earlier today). so don't use if you love your data ;)
> Can you tell us more about this bug?
> (I'm using 2.6.9-rc1-mm1 and would like to know, what will happen ;) )
See:
http://marc.theaimsgroup.com/?l=linux-kernel&m=109360433916523&w=2
and the mail in the reiserfs-list by Christian Mairhuber, subject "Re:
reiserfs3 filesystem corruption?"
the bottom line is: there are problems with files that are exactly the
size of a multiple of 4096, they are truncated by 4096 bytes...
Michael
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: fsck.reiser4 problem
[not found] ` <41344719.7040700@free.fr>
@ 2004-08-31 9:43 ` Michael Weissenbacher
0 siblings, 0 replies; 7+ messages in thread
From: Michael Weissenbacher @ 2004-08-31 9:43 UTC (permalink / raw)
To: ReiserFS List; +Cc: Vince
>
> "rm lost*" should work...
>
nope:
criminal lost+found # ls
lost_name_2a:131323334353637:1000bÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000cÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000dÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000fÿ¿`oÿ·êÓã·??
lost_name_2a:142657765726275:10004ÿ¿`oÿ·êÓã·??
lost_name_2a:142657765726275:10011ÿ¿`oÿ·êÓã·??
lost_name_2a:14772617068696b:10012ÿ¿`oÿ·êÓã·??
lost_name_2a:15769655465616d:10013ÿ¿`oÿ·êÓã·??
criminal lost+found # ls -l
ls: lost_name_2a:131323334353637:1000bÿ¿`oÿ·êÓã· : No such file
or directory
ls: lost_name_2a:131323334353637:1000cÿ¿`oÿ·êÓã· : No such file
or directory
ls: lost_name_2a:131323334353637:1000dÿ¿`oÿ·êÓã· : No such file
or directory
ls: lost_name_2a:131323334353637:1000fÿ¿`oÿ·êÓã· : No such file
or directory
ls: lost_name_2a:14772617068696b:10012ÿ¿`oÿ·êÓã· : No such file
or directory
ls: lost_name_2a:142657765726275:10004ÿ¿`oÿ·êÓã· : No such file
or directory
ls: lost_name_2a:142657765726275:10011ÿ¿`oÿ·êÓã· : No such file
or directory
ls: lost_name_2a:15769655465616d:10013ÿ¿`oÿ·êÓã· : No such file
or directory
total 0
criminal lost+found # rm lost*
rm: cannot remove `lost_name_2a:131323334353637:1000bÿ¿`oÿ·êÓã·\t\224':
No such file or directory
rm: cannot remove `lost_name_2a:131323334353637:1000cÿ¿`oÿ·êÓã·\t\224':
No such file or directory
rm: cannot remove `lost_name_2a:131323334353637:1000dÿ¿`oÿ·êÓã·\t\224':
No such file or directory
rm: cannot remove `lost_name_2a:131323334353637:1000fÿ¿`oÿ·êÓã·\t\224':
No such file or directory
rm: cannot remove `lost_name_2a:142657765726275:10004ÿ¿`oÿ·êÓã·\t\224':
No such file or directory
rm: cannot remove `lost_name_2a:142657765726275:10011ÿ¿`oÿ·êÓã·\t\224':
No such file or directory
rm: cannot remove `lost_name_2a:14772617068696b:10012ÿ¿`oÿ·êÓã·\t\224':
No such file or directory
rm: cannot remove `lost_name_2a:15769655465616d:10013ÿ¿`oÿ·êÓã·\t\224':
No such file or directory
criminal lost+found # ls
lost_name_2a:131323334353637:1000bÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000cÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000dÿ¿`oÿ·êÓã·??
lost_name_2a:131323334353637:1000fÿ¿`oÿ·êÓã·??
lost_name_2a:142657765726275:10004ÿ¿`oÿ·êÓã·??
lost_name_2a:142657765726275:10011ÿ¿`oÿ·êÓã·??
lost_name_2a:14772617068696b:10012ÿ¿`oÿ·êÓã·??
lost_name_2a:15769655465616d:10013ÿ¿`oÿ·êÓã·??
still there :)
i guess removing lost+found would work, but how are these strange
filenames created in the first place?
Michael
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-08-31 9:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-26 23:15 reiser4 corruption problem (maybe related to "Broken reiser4 FS") Michael Weissenbacher
2004-08-27 11:30 ` Francesco Biscani
2004-08-27 11:46 ` Michael Weissenbacher
2004-08-28 21:49 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
2004-08-29 6:54 ` Adrian Ulrich
2004-08-29 8:51 ` fsck.reiser4 problem Michael Weissenbacher
-- strict thread matches above, loose matches on Subject: below --
2004-08-31 1:24 fsck.reiser4 problem (was: reiser4 corruption problem) David Dabbs
2004-08-31 8:52 ` Michael Weissenbacher
[not found] ` <41344719.7040700@free.fr>
2004-08-31 9:43 ` fsck.reiser4 problem Michael Weissenbacher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.