Skip to contentSkip to conversation

reiserfs corruption

DISCUSSION Nick Wellnhofer 2 participants 2 messages Nov 16, 2002 – Nov 18, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

we recently upgraded one of our servers from Linux kernel 2.2.16 to 2.4.18. After the upgrade I got the following error messages in syslog repeatedly:

is_tree_node: node level 0 does not match to the expected one 1
vs-5150: search_by_key: invalid format found in block 1365267. Fsck?
vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [4 40403 0x0 SD]

It's always the same block 1365267.

After I did a reiserfsck --check I was told to run --rebuild-tree (I couldn't look at the exact output of the program since I have only remote access to the server. I put the reiserfsck in the boot scripts, rebooted and got a return value of 2). At first I only tried --fix-fixable. Now I get one error message less, the only remaining ones are

is_tree_node: node level 0 does not match to the expected one 1
vs-5150: search_by_key: invalid format found in block 1365267. Fsck?

But the system still runs fine, so I'm a bit scared to try a --rebuild-tree, especially because I have no direct access to the server right now. What are your experiences with --rebuild-tree? What are the chances of --rebuild-tree failing?

I'm using the old reiserfs 3.5 layout and the newest reiserfsprogs 3.6.4.

Another thing: I expect that my reiserfs file system was already corrupted before the kernel upgrade, but only the new kernel version tells me about that. Does reiserfs report more error conditions in kernel 2.4?

Thanks for your help,

Nick Wellnhofer

Signature · 12 lines
The hot Caribbean sun and a sweet sea breeze are all that can be felt.
http://matadorworld.com/
--
aevum gmbh
leopoldstr. 87
80802 münchen
germany

fon: +4989 38380653
fax: +4989 38799384
[email protected]
http://www.aevum.de
#1 lore raw

Hello!

Quoted 4 lines · Nick Wellnhofer

But the system still runs fine, so I'm a bit scared to try a --rebuild-tree, especially because I have no direct access to the server right now. What are your experiences with --rebuild-tree? What are the chances of --rebuild-tree failing?

100%, there is no supported way to run reiserfsck --rebuild-tree on mounted fs. You should boot off some other fs and run reiserfsck from there.

Quoted 4 lines

Another thing: I expect that my reiserfs file system was already corrupted before the kernel upgrade, but only the new kernel version tells me about that. Does reiserfs report more error conditions in kernel 2.4?

Yes.

Bye,
Oleg