From owner-freebsd-fs@FreeBSD.ORG Mon Feb 4 16:27:07 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27F4F16A4D8 for ; Mon, 4 Feb 2008 16:27:07 +0000 (UTC) (envelope-from joe@skyrush.com) Received: from shadow.wildlava.net (shadow.wildlava.net [67.40.138.81]) by mx1.freebsd.org (Postfix) with ESMTP id F20EA13C4E8 for ; Mon, 4 Feb 2008 16:27:06 +0000 (UTC) (envelope-from joe@skyrush.com) Received: from [129.162.240.70] (unknown [129.162.240.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shadow.wildlava.net (Postfix) with ESMTP id 0731B8F429 for ; Mon, 4 Feb 2008 09:27:05 -0700 (MST) Message-ID: <47A73C8D.3000107@skyrush.com> Date: Mon, 04 Feb 2008 09:25:49 -0700 From: Joe Peterson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Forcing full file read in ZFS even when checksum error encountered X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2008 16:27:07 -0000 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