On Wed, 2006-06-28 at 09:05, [EMAIL PROTECTED] wrote:

> > But the point is that ZFS should detect also such errors and take
> > proper actions. Other filesystems can't.
> 
> Does it mean that ZFS can detect errors in ZFS's code itself ? ;-)

In many cases, yes.

As a hypothetical: Consider a bug in the file system's block allocator
which causes an allocated on-disk block to be prematurely reused by
another file.

With UFS, you're doomed -- one file or the other (or both) will be
corrupted and you'll have no way to tell which one has correct data; all
you can do is take the filesystem offline and run fsck on it to prune
out the damaged area.  

With ZFS's design, because block checksums are an integral part of the
block pointer, the checksum error received when reading one or the other
file will most likely indicate that something is wrong and these errors
will be flagged; with an error of this form, the filesystem will either
deliver the correct data to the app or will know that it can't.

                                                - Bill

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to