On Wed, 5 Feb 2014, Mark Brown wrote: > Date: Wed, 5 Feb 2014 15:20:27 -0800 (PST) > From: Mark Brown <ntdeveloper2002@xxxxxxxxx> > To: "linux-ext4@xxxxxxxxxxxxxxx" <linux-ext4@xxxxxxxxxxxxxxx> > Subject: Filesystem testing > > Hello all, > What are the most common testing tools used for stress testing ext4(or any file system..), and making sure the data (and metadata) that was written is correctly read back, operations that were done(whether usual R/W, but also others like truncate, stat,link, f* operations etc) did not cause problems or corruptions, do fscks if needed etc? > > Also, are there tools that can cause aborts underneath the file system, basically something in the mid layer that randomly drops IOs or something along those lines? Yes, there is device mapper target dm-flakey (see Documentation/device-mapper/dm-flakey.txt in linux kernel sources). Xfstests does have infrastructure to use this target in its tests (see tests 311, 321 and 322). -Lukas > > I am looking for tests which can fully stress the system exercising the file system and also check for corruption. > > As an aside, I looked at xfstests, from what I could gather, it was started only for xfs, but there is ongoing work to make it work with ext4(and thus other posix FS?). If someone can point me to the documentation for xfstests and what it does, that would help. I could not find much. > > Thanks in advance. > -- > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html >