Skip to contentSkip to conversation

Reiser4 Corruption

DISCUSSION Craig Shelley 1 participant 1 message May 18, 2005

lore
Share & tools
lore
#0 lore raw

I have a corruption on my root file system and fsck.reiser4 is unable to find or fix it. The system behaves normally until certain files in my local kernel source tree are accessed, eg during the final stages of a kernel compile. When the corrupt files are accessed, the entire file system becomes locked out.
I have attached a screen-shot of the error message printed out when the problem occurs.

Kernel version:         2.6.11.6 
Reiser4 patch:          reiser4-for-2.6.11-3.patch.gz
fsck.reiser4 version:   1.0.4

PS: The corruption was most likely caused by a bug in a kernel driver I am currently working on, as there was an 'off by one' error in an array parser. I suspect the driver overwrote some file system cache, which eventually got written to disk.

thanks,

Signature · 24 lines
Craig Shelley
EMail: [email protected]
Jabber: [email protected]

PPS: I think the problem is now cured, however there was something wrong
with the file system which fsck.reiser4 could not detect. This badness
caused further file system corruptions when writing to certain files was
attempted. I cured the problem by copying the directory tree containing
the corrupt files, to a new location. The kernel spewed out a few errors
while doing this, but the new copy can be accessed without causing
problems. I bravely deleted the old directory where the errors where
occurring, and rescanned the file system. Still no errors. The further
corruption which occurred as a result of writing to the already corrupt
files has caused a few library files being deleted. These were later
reinstalled.
Sorry about the slightly dis-jointed email, this is because the original
attachment was too big to be sent to the list, and the message was
bounced.

Keep up the good work, lets hope they let ReIsEr4 into the mainstream
kernel some time soon.

-- 
Craig