Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2008 09:25:49 -0700
From:      Joe Peterson <joe@skyrush.com>
To:        freebsd-fs@freebsd.org
Subject:   Forcing full file read in ZFS even when checksum error encountered
Message-ID:  <47A73C8D.3000107@skyrush.com>

next in thread | raw e-mail | index | archive | help
I have a ZFS pool of one partition (i.e. no mirror/RAID) with a reported
checksum error (on one file).  Scrubs find it, and when I try to read the
file, I get an I/O error ("bad address" on fbsd).

When I try to copy the file, I get only 655360 bytes copied, and then the copy
stops.  I assume this is because the next block is where the error is.
However, I'd like to do some forensics on this, especially since I am not
convinced the disk is bad.

Is there a way to force ZFS to give me the whole file so I can compare it to
my backup?  Is there a way to get ZFS to give more specifics on the checksum
issue (i.e. which block, where in file, etc.)?

						Thanks, Joe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A73C8D.3000107>