From owner-freebsd-fs@FreeBSD.ORG Tue Feb 5 13:31:21 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 0070316A418 for ; Tue, 5 Feb 2008 13:31:20 +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 C8F2413C4CE for ; Tue, 5 Feb 2008 13:31:20 +0000 (UTC) (envelope-from joe@skyrush.com) Received: from [64.134.205.78] (dhcp64-134-205-78.lman.aus.wayport.net [64.134.205.78]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shadow.wildlava.net (Postfix) with ESMTP id A12198F41F; Tue, 5 Feb 2008 06:31:19 -0700 (MST) Message-ID: <47A864D9.4060504@skyrush.com> Date: Tue, 05 Feb 2008 06:30:01 -0700 From: Joe Peterson User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <47A73C8D.3000107@skyrush.com> <86prvby5o1.fsf@ds4.des.no> In-Reply-To: <86prvby5o1.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-fs@freebsd.org Subject: Re: 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: Tue, 05 Feb 2008 13:31:21 -0000 Dag-Erling Smørgrav wrote: > Joe Peterson writes: >> 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. > > Try to lseek past it. Well, I'd like to actually read the "bad" data too, so I can see if it is really bad or if there is a metadata issue. Basically, I'd like to recover all the file's bytes this once without having ZFS stop me due to the checksum failure, just for debugging purposes. Is this impossible in ZFS? -Thanks, Joe