From owner-freebsd-fs@FreeBSD.ORG Fri Apr 24 00:23:13 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 190F21065670 for ; Fri, 24 Apr 2009 00:23:13 +0000 (UTC) (envelope-from andrew@modulus.org) Received: from email.octopus.com.au (email.octopus.com.au [122.100.2.232]) by mx1.freebsd.org (Postfix) with ESMTP id CD6878FC17 for ; Fri, 24 Apr 2009 00:23:12 +0000 (UTC) (envelope-from andrew@modulus.org) Received: by email.octopus.com.au (Postfix, from userid 1002) id ADACC17E80; Fri, 24 Apr 2009 10:23:26 +1000 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on email.octopus.com.au X-Spam-Level: X-Spam-Status: No, score=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=failed version=3.2.3 Received: from [10.1.50.60] (ppp121-44-5-163.lns10.syd7.internode.on.net [121.44.5.163]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: admin@email.octopus.com.au) by email.octopus.com.au (Postfix) with ESMTP id 7D1ED17E3D; Fri, 24 Apr 2009 10:23:22 +1000 (EST) Message-ID: <49F10660.201@modulus.org> Date: Fri, 24 Apr 2009 10:22:56 +1000 From: Andrew Snow User-Agent: Thunderbird 2.0.0.14 (X11/20080523) MIME-Version: 1.0 To: Alexander Kabaev References: <49F048FB.6000401@bqinternet.com> <20090423195335.521db0a7@kan.dnsalias.net> In-Reply-To: <20090423195335.521db0a7@kan.dnsalias.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: UFS2 metadata checksums 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, 24 Apr 2009 00:23:13 -0000 Ideally you would implement complete disk checksumming as a GEOM device. Then you could layer geom_mirror on top of it, so that if the checksum fails and returns EIO, geom_mirror can try the alternate device and rebuild the one with the bad checksums. That will then complete the feature set implemented by ZFS, but for any filesystem on top of GEOM. - Andrew