Forcing full file read in ZFS even when checksum error encountered

Brooks Davis brooks at freebsd.org
Tue Feb 5 17:31:10 UTC 2008


On Tue, Feb 05, 2008 at 06:22:30PM +0100, Dag-Erling Sm??rgrav wrote:
> Joe Peterson <joe at skyrush.com> writes:
> > Dag-Erling Sm??rgrav <des at des.no> writes:
> > > There is now way to "read the bad data" since an unrecoverable
> > > checksum error means that ZFS has no idea which of the multiple
> > > version of the affected block is the right one.
> > Nope, no mirror, no RAIDZ - just one partition.  But as far as I know, there
> > were no read errors, just a checksum error.
> 
> A checksum error results from a read error.  Check your drive's SMART
> error log if it has one.  It might not be detectable in a surface scan,
> as the damaged sector will be automatically reassigned if it's written
> to (which ZFS may very well have done)

We've also experienced several situations were zfs was detecting
corruption caused by bad cabling or bad controller firmware so SMART had
nothing to report.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20080205/fad0cd77/attachment.pgp


More information about the freebsd-fs mailing list