Skip to contentSkip to conversation

fsck.reiser4 problem (was: reiser4 corruption problem)

DISCUSSION David Dabbs 2 participants 2 messages Aug 31, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

My pleasure. Thank /you/ for helping to debug!

*-*-*-*-*-*-*-*-*-*
if have a rather long answer this time, this is a test run i made today. i wanted to include full details. i'm wondering if there is still something these files have in common. first i created some test files on a spare partition with "touch":
*-*-*-*-*-*-*-*-*-*

Michael, thank you for taking the time to retest and for sending the detailed traces. From the look of the messages like the following:

FSCK: Directory [29:0:2a] (dir40), node [24], item [1], unit [13]: entry has wrong offset [2a:0(NAME):131323334353637:3839303132333435:20c8b16c855]. Should be [2a:0(NAME):131323334353637:3839303132333435:20c8b1617a5].

the problem directory entries differ in the final key element, which is the hash value as I mentioned before. If I had access to the source I could look into this further. My suspicion is that the reiserfstools have slightly different hash calculation or some hash variance caused when extended ASCII chars appear in the hashed portion of a filename.

Can anyone at Namesys comment on Michael's posts?

David

#1 lore raw

Hello David,

Quoted 1 line

Can anyone at Namesys comment on Michael's posts?

Vladimir Saveliev submitted a patch for the hash calculation code of reiser4progs today, which solved my problem. I'm running new tests at the moment and so far everything is stable.

don't forget to enjoy your vacation :)
Michael