lkml.org 
[lkml]   [2006]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] handle ext3 directory corruption better
Hi!

> The initial image is created in one of 2 ways, either dd a file or mkdir a
> directory depending on what the filesystem creation tools call for. To
> corrupt the image, a version of mangle is used. Mangle is a program that
> corrupts about 10% of the data and favors bytes with a value > 128 to induce
> signed/unsigned problems. The corrupted image is exercised by a program
> called run_test. I separated it from the main program so that you can replay
> a test and debug what is happening.
>
> So, to wrap up...anyone that has anything to do with file system development
> may want to give this tool a try to see how robust any given file system is.
> The program can be grabbed here:
>
> http://people.redhat.com/sgrubb/files/fsfuzzer-0.5.tar.gz

Nice... can you run the same tool against fsck, too?

I did that some time ago, with less evil tool, and got some
interesting results.

(Expectation is that no matter how you corrupt fs, fsck will get it
back to consistent state...)
Pavel
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-31 11:01    [W:0.018 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site