reiserfsck "block is in the tree already" error
I've been trying to rebuild the tree on a reiserfs partition that seems to have gotten corrupted during a resize operation. Unfortunately, I've gone from having one or two directories not accessible to having the whole partition not accessible now. Everything seems to go ok until pass
2. At this point I start getting this error:
"do_pass_2: The block (4901823) is in the tree already. Should not happen."
This keeps coming up as fast as the terminal will display it. It seems to be an endless loop as leaving it on for 4 hours resulted in an essentially infinite number of error messages with no corresponding disk activity. I'm running reiserfsck with the following command line:
reiserfsck -z -S --rebuild-sb --rebuild-tree /dev/hda3
I'm pretty sure that -z and --rebuild-sb are more or less unnecessary, but I'm trying to be thorough. Running just
reiserfsck --rebuild-tree /dev/hda3
results in a similar error message. I don't remember the exact wording of it, but it is along the lines of, "marked as a leaf but is not a leaf".
Any suggestions are very welcome. I'd certainly hate to lose all of this data.
p.s. My system is Debian GNU/Linux Unstable, running a 2.4.20 kernel.
Signature · 4 lines
Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
Hi,
Quoted 8 lines · Alex Malinovich
I've been trying to rebuild the tree on a reiserfs partition that seems to have gotten corrupted during a resize operation. Unfortunately, I've gone from having one or two directories not accessible to having the whole partition not accessible now. Everything seems to go ok until pass
2. At this point I start getting this error:"
do_pass_2: The block (4901823) is in the tree already. Should not happen."
It seems that reiserfsck was built on another computer, which has some other libs version, not statically. Would you try to rebuild it and try again.
Signature · 2 lines
Thanks, Vitaly Fertman
Quoted 9 lines · Vitaly Fertman
Hi,
Quoted 6 lines · Alex Malinovich
I've been trying to rebuild the tree on a reiserfs partition that seems to have gotten corrupted during a resize operation. Unfortunately, I've gone from having one or two directories not accessible to having the whole partition not accessible now. Everything seems to go ok until pass
2. At this point I start getting this error:
Quoted 6 lines
Quoted 2 lines
"
do_pass_2: The block (4901823) is in the tree already. Should not happen."It seems that reiserfsck was built on another computer, which has some other libs version, not statically. Would you try to rebuild it and try again.
I just downloaded the source and built it and it worked! Thank you VERY much!
Signature · 4 lines
Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837