Re: File System corruption tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have a script that adds corruption to ext2/3/4 filesystems and runs 
e2fsck on it. It definitely could be improved, but it still catches some
occasional errors:


It tries to format the filesystem with different features and options, then
adds corruption from both random data and copying parts of the
filesystem internally to some other part of the filesystem. It might be useful to corrupt some random bits and bytes in the filesystem also,
but it doesn't do that today.

There is also fsfuzzer, which writes random data to the filesystem and
tries to mount it, but I don't know if that has been tried with e2fsck. 

The other major question I have is why you are trying to create a new
proprietary filesystem?  That is really a ten year effort, and you would
be much better off to use one of the many existing filesystems. If
the current ones don't meet your exact needs, add the missing
features you need instead of creating a whole new one from scratch.

While I'm a big fan of ext4, there are many other good filesystems out
there - XFS, Btrfs, ZFS, and several flash filesystems. 

Cheers, Andreas

On Jan 18, 2014, at 5:13, "Lakshmipathi.G" <lakshmipathi.g@xxxxxxxxx> wrote:

Hi - 

I'm searching for file system corruption tool, say it inject disk-errors like
multiply owned blocks etc. Later an integrity scan process (like e2fsck) will
verify on-disk layout and fix these errors. 

I'd like to read/understand such tools before writing one for an proprietary
on-disk file system. 

Do we have such tools for ext{2,3,4}fs ? Thanks for any help or pointers!

-- 
----
Cheers,
Lakshmipathi.G
FOSS Programmer.
www.giis.co.in
_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users
_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux