Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2016 08:47:22 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-fs@freebsd.org
Subject:   Re: How to speed up slow zpool scrub?
Message-ID:  <08d59afe-c835-fa8d-0e52-78afcb1cc030@denninger.net>
In-Reply-To: <alpine.GSO.2.20.1604290821210.23612@freddy.simplesystems.org>
References:  <381846248.2672053.1461695277122.JavaMail.yahoo.ref@mail.yahoo.com> <381846248.2672053.1461695277122.JavaMail.yahoo@mail.yahoo.com> <1461736217.1121.17.camel@michaeleichorn.com> <alpine.GSO.2.20.1604290821210.23612@freddy.simplesystems.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 4/29/2016 08:31, Bob Friesenhahn wrote:
> On Wed, 27 Apr 2016, Michael B. Eichorn wrote:
>>
>> It does not *need* to be ECC ram, ECC is just *highly recommended*. As
>> one of the key features of zfs is bitrot prevention, it makes sense to
>> protect against bitrot everywhere. Zfs (and thus freenas) is just fine
>> with non-ecc ram. Just, like for any filesystem if the bit is flipped
>> in ram it will be recorded as such on disk.
>
> This is not necessarily the case.  Zfs does not offer additional
> protections for data in RAM.  It assumes that data in RAM is protected
> in other ways.  The on-disk checksum only verifies that the data was
> not modified since it was checksummed, but it may already be corrupt.
> The risk factor is pretty high if RAM becomes corrupted since zfs uses
> so much RAM.
>
> It is possible to lose data and even the whole pool due to memory
> corruption.
>
> There are well known cases where users encountered continual/periodic
> pool corruptions due to flaky RAM.
>
> Bob

To amplify what Bob said using ZFS on a system without ECC RAM is just
begging to lose the entire pool at some point due to a random bit-error
in system memory and the fact that it happened may be completely
concealed from you for quite a while until at a random later point in
time you discover the pool is hopelessly corrupt.

ZFS makes the *assumption*, fair or not, that everything in its
RAM-based caches is correct.  If that assumption is violated you will
eventually be a very sad Panda.  Use ECC memory or don't use ZFS.

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H
_0[0C)0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA0
150421022159Z
200419022159Z0Z10	UUS10UFlorida10U
Cuda Systems LLC10UKarl Denninger (OCSP)0"0
	*H
0
X@vkY
Tq/vE]5#֯MX\8LJ/V?5Da+
sJc*/r{ȼnS+w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-<	?HN5y
5}F|ef゘"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5
Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8v&K%z8C @?K{9f`+@,|Mbia007++0)0'+0http://cudasystems.net:88880	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0
	*H
Owbabɺx&Uk[(Oj!%pMQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ
nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	`HeM0	*H
	1	*H
0	*H
	1
160429134722Z0O	*H
	1B@d@Jr>3\r`jgޚʓg8ϬN<yf|F(]Q\647?0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA)0
	*H
D{J<r./c4;	OQĤPc̩N&υoHdFlKuA<{JqDwz\BwW!
6\]8D{
n3W#חsewRaW$Fb
q Em\DD-e5I;	$N+\>]*oj58Rxx_oH bwi">"(<	SIaޜFx"$g]_cd^݋gp'7v:\_<(AF<E?ۏy;h1\ݮ>x~nxԋW4	޳!&Ki9͍	CNaƉXSP(XN
ZTb\_:$gtjoEK&<,Ymhn+PE|yE+p̅"pYU{Wv;6cC
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08d59afe-c835-fa8d-0e52-78afcb1cc030>