From owner-freebsd-fs@FreeBSD.ORG Wed Feb 15 03:06:27 2012 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 242BE106564A for ; Wed, 15 Feb 2012 03:06:27 +0000 (UTC) (envelope-from bfriesen@simple.dallas.tx.us) Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74]) by mx1.freebsd.org (Postfix) with ESMTP id DA3CC8FC08 for ; Wed, 15 Feb 2012 03:06:26 +0000 (UTC) Received: from freddy.simplesystems.org (freddy.simplesystems.org [65.66.246.65]) by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id q1F36PxZ020522; Tue, 14 Feb 2012 21:06:25 -0600 (CST) Date: Tue, 14 Feb 2012 21:06:25 -0600 (CST) From: Bob Friesenhahn X-X-Sender: bfriesen@freddy.simplesystems.org To: Adam Nowacki In-Reply-To: <4F3AD6B1.9050609@platinum.linux.pl> Message-ID: References: <4F3AD6B1.9050609@platinum.linux.pl> User-Agent: Alpine 2.01 (GSO 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (blade.simplesystems.org [65.66.246.90]); Tue, 14 Feb 2012 21:06:25 -0600 (CST) Cc: freebsd-fs@freebsd.org Subject: Re: 9-stable : geli + one-disk ZFS fails 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: Wed, 15 Feb 2012 03:06:27 -0000 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/