Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2012 21:06:25 -0600 (CST)
From:      Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
To:        Adam Nowacki <nowakpl@platinum.linux.pl>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: 9-stable : geli + one-disk ZFS fails
Message-ID:  <alpine.GSO.2.01.1202142102540.6378@freddy.simplesystems.org>
In-Reply-To: <4F3AD6B1.9050609@platinum.linux.pl>
References:  <wpty2xcqop.fsf@heho.snv.jussieu.fr> <4F3AD6B1.9050609@platinum.linux.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Feb 2012, Adam Nowacki wrote:

> It appears that zfs detects mismatch between data stored on the disk and 
> checksum of what should be there. With a single disk setup like you have here 
> there is nothing more to do than to delete the file and restore from a backup 
> if you have one. When the error occured, what caused it or is the error in 
> data or checksum you'll probably never know.

If a particular filesystem is deemed to be particularly important, but 
there is just one disk, then setting the zfs filesystem attribute 
'copies' to 2 or 3 will dramatically reduce the odds of data loss if 
there is minor media failure.  The attribute needs to be set before 
the data is written.  If the whole disk goes, then everything is still 
lost.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.01.1202142102540.6378>