From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 22:44:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13C57106564A for ; Mon, 8 Nov 2010 22:44:19 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 92CDC8FC17 for ; Mon, 8 Nov 2010 22:44:18 +0000 (UTC) Received: by wya21 with SMTP id 21so280393wya.13 for ; Mon, 08 Nov 2010 14:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=9ujJ/verfga+5B0wOYm12M86Yw9vNMN+QDsIzQqKb/M=; b=eh3GlDitKrEvHplFGOhYpnEjrXz+ivhC3n4H7hIMdrCXw99PQMxpjQIE69IoGQUjvh qtYtzHA3p99jWJ7vOBJvHoNz5+Y/c76UMxfABwlk+nMJJQWMgmRGxPQ+ZTg/i8w02mWS zwCzEAtyBd1Ev2Qbagpi0yBz2PVtlGhvmvn4I= 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=TWzexbUAJVcQo+syQxdld1fMKJsC7ltDvCRV0GxRD8VLnB1tFHAWle6sv29/FgbSjZ avdJUP/70sGPV6elSltk1te3HHhZLGoOCtQD7WK8Q2rSyLDaVbRvzGkRMChcEzObb8nH Atot+H4TLzBIQjhpoxk49Ze4G8jNffLDWRveA= MIME-Version: 1.0 Received: by 10.216.176.20 with SMTP id a20mr6004812wem.14.1289256257349; Mon, 08 Nov 2010 14:44:17 -0800 (PST) Received: by 10.216.72.148 with HTTP; Mon, 8 Nov 2010 14:44:17 -0800 (PST) In-Reply-To: <20101108223531.GA54089@slackbox.erewhon.net> References: <20101106203016.GB13095@guilt.hydra> <20101106213836.GA77198@slackbox.erewhon.net> <4CD8194D.7080208@qeng-ho.org> <4CD82081.50309@stillbilde.net> <20101108183821.GA48373@slackbox.erewhon.net> <20101108223531.GA54089@slackbox.erewhon.net> Date: Mon, 8 Nov 2010 22:44:17 +0000 Message-ID: From: krad To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Svein Skogen \(Listmail account\)" , "C. P. Ghost" , freebsd-questions@freebsd.org Subject: Re: ZFS License and Future X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 22:44:19 -0000 On 8 November 2010 22:35, Roland Smith wrote: > On Mon, Nov 08, 2010 at 09:44:29PM +0100, C. P. Ghost wrote: > > On Mon, Nov 8, 2010 at 7:38 PM, Roland Smith wrote: > > > On Mon, Nov 08, 2010 at 05:08:33PM +0100, Svein Skogen (Listmail > account) wrote: > > >> But it's still not capable of true forward-error-correction. If we are > > >> to embark upon creating a new solution, using something that is cheap > > >> for "normal cases" but can still be used (albeit more expensively) for > > >> error recovery would (imho) be better. Even if that means we get less > > >> net storage out of the gross pool (it could perhaps be configurable?) > > > > > > I'm not sure what you mean by "true forward-error-correction". But if > you want > > > to make _really sure_ that a spinning disk hasn't mangled the data you > should: > > > > Maybe something like Reed-Solomon ECC in different blocks. > > Should a data block go bad, it could be rebuilt on-the-fly from > > those ECC blocks: > > And how do you detect that a block has gone bad, other than reading back > what > you wrote and finding a difference? Because that would still be slow. > > Roland > -y > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > The read doesnt need to be done at write time, it only needs to be done when the block is read by the system. If an issue is found than the corrective measures are executed. For you important data in my opinion you should always set the copies attribute to 3. This is obviously very costly in terms of storage but its just a trade off for the data.