From owner-freebsd-fs@FreeBSD.ORG Sat Jan 23 13:21:13 2010 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 6A733106568B for ; Sat, 23 Jan 2010 13:21:13 +0000 (UTC) (envelope-from rincebrain@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id F3F928FC0C for ; Sat, 23 Jan 2010 13:21:12 +0000 (UTC) Received: by fxm26 with SMTP id 26so2036917fxm.13 for ; Sat, 23 Jan 2010 05:21:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=793qY4YtoybjGE0rTtox0sEmk3IMbd+D+w3FdLeM6Es=; b=RzTIAC8mpJZfcLguiSpM0PG4feyMvzMtylc2vdPFp8mlHNMkLzxc3tU7aCbY+9xZ1Z INQido6ZVuV6W5N+ULmoDYip7BQUQ7y1br5/8cOWhjHcTe+c9lnPBzXYTH8I3g/mlRrm MyRwujyMND6Rh3tyMTSElZMfYEdJukUlohjJM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sUpi6m9heaj6OMpPJrJo5MR6T5+8OGpzhUn+dF/tMHHqQMCj+a1ruRTBWOSmmJpsk4 dvnGst+272CTMYeChRPP7pmiWMbWofNBrP5ugBBE9DGyn+I90FIg6VL/AQ6Z5Zz7KUZF QEa859EV68mAWZmzI65SG+ttuaZsqH1WEUllQ= MIME-Version: 1.0 Received: by 10.239.165.72 with SMTP id w8mr466488hbd.8.1264252871285; Sat, 23 Jan 2010 05:21:11 -0800 (PST) In-Reply-To: <4B5AF018.7070503@modulus.org> References: <5da0588e1001222223m773648am907267235bdcf882@mail.gmail.com> <5da0588e1001230014k1b8a32f8v42046497265429ed@mail.gmail.com> <4B5AE8D7.9000103@modulus.org> <5da0588e1001230443r1fee3b45o906690bc0115bb4e@mail.gmail.com> <4B5AF018.7070503@modulus.org> Date: Sat, 23 Jan 2010 08:21:11 -0500 Message-ID: <5da0588e1001230521h3cbef0b9m9781bb7eb6ff92c@mail.gmail.com> From: Rich To: Andrew Snow Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-fs@freebsd.org Subject: Re: Errors on a file on a zpool: How to remove? 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: Sat, 23 Jan 2010 13:21:13 -0000 I can't; any operations on the file yield EIEIO...err, EIO, input/output error. - Rich On Sat, Jan 23, 2010 at 7:48 AM, Andrew Snow wrote: > Rich wrote: >> >> zpool clear always clears the checksum column whenever I run it. >> >> Then, as soon as I touch those files again, or run a scrub, the >> checksum error numbers tick up on those three disks, and those entries >> appear in /var/log/messages. > > That is the normal behaviour if there are no additional copies of the data > to go from (via mirroring or RAIDZ): it sees that the file has blocks with > incorrect checksums, but it won't take action as there's no way to know if > the file data is corrupt or the checksum value is wrong. > > You might be able to clear it by renaming the file and copying it back in > place, and thus the new file will not have any bad checksums (but likely > will contain corrupt data). > > - Andrew > -- You are an insult to my intelligence! I demand that you log off immediately.