From owner-freebsd-fs@FreeBSD.ORG Fri Jun 12 21:01:58 2009 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 BE49A106566B; Fri, 12 Jun 2009 21:01:58 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 5FABE8FC30; Fri, 12 Jun 2009 21:01:58 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1348319ywe.13 for ; Fri, 12 Jun 2009 14:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=I1fITzKtgK+exTBbj3AJA2pBVnVdJDMaUy0G8+6WS0I=; b=uoJHJB0O9WtI7p5RuD5yXivtipHT44aPQCiGHWw6d38QG2rmZ1vyexbhSYvnF9NXeZ y1sv+eY8PPxMeMo7xjcl6S2UWKx4K/QMuqXCl7l4RHE/PIgrzoX2rG5oNbOVu4MUcG9O 9+kNIsm0YXd+YjBlYNf5omOK66e9P3vks65NE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=EEjN0FxAO/eG5EVRt0CoeeCJY9/OAkoyw0cH2IUtkPRNsBSGL9kEygPyyOYnVJBzGQ pilA/YaJvsIt/gC/hyHrjsY5QXskOsmp4nHLUyzAHYBafa3xXmpI3UdymJ0Z5ukA5LXr QbeKA6DqOPk5IwW84McBBhBL6n6eXqOo7Q8y0= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.100.46.10 with SMTP id t10mr5513887ant.116.1244840517509; Fri, 12 Jun 2009 14:01:57 -0700 (PDT) In-Reply-To: <920A69B1-4F06-477E-A13B-63CC22A13120@exscape.org> References: <920A69B1-4F06-477E-A13B-63CC22A13120@exscape.org> Date: Fri, 12 Jun 2009 14:01:57 -0700 X-Google-Sender-Auth: 25126167c0a296b8 Message-ID: <3c1674c90906121401s19105167vf4535566321b45de@mail.gmail.com> From: Kip Macy To: Thomas Backman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, FreeBSD Current Subject: Re: ZFS: Silent/hidden errors, nothing logged anywhere 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: Fri, 12 Jun 2009 21:01:59 -0000 On Fri, Jun 12, 2009 at 10:32 AM, Thomas Backman wrot= e: > OK, so I filed a PR late May (kern/135050): > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D135050=A0. > I don't know if this is a "feature" or a bug, but it really should be > considered the latter. The data could be repaired in the background witho= ut > the user ever knowing - until the disk dies completely. I'd prefer to hav= e > warning signs (i.e. checksum errors) so that I can buy a replacement driv= e > *before* that. > > Not only does this mean that errors can go unnoticed, but also that it's > impossible to figure out which disk is broken, if ZFS has *temporarily* > repaired the broken data! THAT is REALLY bad! > Is this something that we can expect to see changed before 8.0-RELEASE? I'm fairly certain that we've discussed this already. Solaris uses FMA - I don't think that I'll get to a "real fix" any time soon. The time that I do have will go to addressing stability problems (memory over-allocation, NFS interaction, control directory mounts) all of which cause panics. Maintaining them persistently in the label doesn't make sense - when do you drop them? Would a simple log message about the number of checksum errors suffice? Cheers, Kip