Does anyone know of a good method for exercising an ext3 file system? Perhaps something that involves power removal in between commits or in the midst of a write, and then checks for corrupt data. Do any utilities exist for this? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ext3-users/attachments/20060831/94fe61c6/attachment.htm>
On Thu, 31 Aug 2006, Kieft, Brian wrote:> Does anyone know of a good method for exercising > an ext3 file system?I'm not aware of such a "torture" tool, but any long run of your real-world-application of choice, some benchmarks or heavy operation on a big source tree or so should do no harm to any in-kernel rw-filesystem.> Perhaps something that involves power removal in between commits > or in the midst of a write,start any of the things mentioned above and pull the plug ;) maybe "reboot -f" could simulate this: -f Force halt or reboot, don't call shutdown(8). but I've never tried that and don't know if it will KILL running processes before rebooting.> and then checks for corrupt data. Do any utilities exist for this?fsck.ext[23] will do that for the fs structure. you could use diff(1) against a known-to-be-good filesystem to verify that all data is in place. Christian. -- BOFH excuse #325: Your processor does not develop enough heat.
I know of a method to continously execute a command, maybe doing a full listing of the drive's contents will heat the drives up, but I am not sure about the error checking part. Here is what I would do: while [ 1 -eq 1 ]; do ls -shw9 -R; done Hope this helps! Mr. X Kieft, Brian wrote:> Does anyone know of a good method for exercising an ext3 file system? > Perhaps something that involves power removal in between commits or in > the midst of a write, and then checks for corrupt data. Do any utilities > exist for this? > > > > Thanks! > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ext3-users mailing list > Ext3-users at redhat.com > https://www.redhat.com/mailman/listinfo/ext3-users