Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 21:23:29 -0500
From:      Andrew Berg <aberg010@my.hennepintech.edu>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: ZFS under FreeBSD failure modes
Message-ID:  <53E191A1.6010603@my.hennepintech.edu>
In-Reply-To: <BDD126F3-3DF2-4A96-A3CD-9C2C8CE220FE@kraus-haus.org>
References:  <53DAFCF2.2070909@hiwaay.net> <alpine.BSF.2.11.1407312131550.50731@wonkity.com> <53DB9797.1010702@hiwaay.net> <20140801164335.GA16376@slackbox.erewhon.home> <53DBF71D.3080807@hiwaay.net> <20140801232843.GB17393@slackbox.erewhon.home> <53DCF32A.30700@hiwaay.net> <20140802185442.GA28910@slackbox.erewhon.home> <53DD533D.7090700@hiwaay.net> <alpine.BSF.2.11.1408021524130.36114@wonkity.com> <20140802213848.GC77128@neutralgood.org> <BDD126F3-3DF2-4A96-A3CD-9C2C8CE220FE@kraus-haus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014.08.05 20:19, Paul Kraus wrote:
> On Aug 2, 2014, at 17:38, kpneal@pobox.com wrote:
> 
>> I'd be careful running ZFS on a machine that lacks ECC memory. Lots of
>> people do it, but I'd be worried that ZFS would get itself into a state
>> where you couldn't access anything.
> 
> I am startring to see comments like this on a more frequent basis. What is the failure mechanism you expect to run into here?
The idea is that a bad block in RAM will get written to disk and ZFS will not
know it is bad and then create a checksum based on it and call it good.
However, UFS and other filesystems would be just as incapable of detecting and
correcting the error. Yes, ECC RAM is always better than non-ECC RAM, but ZFS
is still going to be better equipped to detect errors than UFS. Not having ECC
RAM is more reason to use ZFS, not less.

>> When was the last time anyone heard of a UFS file
>> system being so damaged that it couldn't be recovered?
> 
> Anecdotal evidence at best. I have plenty of anecdotal evidence that ZFS never looses data. I don’t claim it as fact. 
The thing to remember is that ZFS is far more capable of finding data
corruption than UFS and it will complain loudly whether it can correct the
situation or not. To the person unfamiliar with ZFS, this can make it seem like
ZFS causes more problems when in fact ZFS is just finding problems that were
already there that another filesystem would miss.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E191A1.6010603>