From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 21:21:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E5D1065676 for ; Fri, 1 Apr 2011 21:21:36 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [168.103.150.6]) by mx1.freebsd.org (Postfix) with ESMTP id B74C58FC1C for ; Fri, 1 Apr 2011 21:21:36 +0000 (UTC) Received: from webmail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id p31LKnlf097851; Fri, 1 Apr 2011 14:20:55 -0700 (PDT) (envelope-from chris#@1command.com) Received: from udns0.ultimatedns.net ([168.103.150.26]) (Local authenticated user inf0s) by webmail.1command.com with HTTP; Fri, 1 Apr 2011 14:21:26 -0700 (PDT) Message-ID: <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> In-Reply-To: References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> Date: Fri, 1 Apr 2011 14:21:26 -0700 (PDT) From: "Chris H" To: freebsd-stable@freebsd.org User-Agent: HRC Internet Messaging/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Cc: amvandemore@gmail.com, mlerota@claresco.hr Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 21:21:37 -0000 On Fri, April 1, 2011 10:38 am, Adam Vande More wrote: > On Fri, Apr 1, 2011 at 12:02 PM, Chris H wrote: > > >> On Fri, April 1, 2011 6:29 am, Marko Lerota wrote: >> >>> I read that ZFS don't need fsck because the files are always consistent >>> >> on filesystem regardless >>> of power loses. That the corruption can occur only if disks are damaged. >> But not >> >>> when power goes down. >> >> Complete nonsense. The information you read was false. >> >> > > No, it's really not. ZFS's lack of recovery tools at least in the > beginning were basically non existent. This is because ZFS uses a COW model > with an atomic data management unit design which by it's nature addresses thing > like fsck, and sudden power loss. However, things outside of a FS's control > still allow corrution to happen so as UPS is just as important with ZFS as your > traditional FS. Perhaps more important because the difficulty from recovering > from some types of pool corruption. > Greetings, Not to sound disagreeable, but if I interrupt the power during a disk write, no amount of ZFS will insure that the hardware completes it's write without electricity. Nor will any amount of ZFS prevent data corruption as a result of that interrupted write. > -- > Adam Vande More > > -- //////////////////////////////////////////////////// If only Western Electric had found a way to offer binary licenses for the UNIX system back in 1974, the UNIX system would be running on all PC's today rather than DOS/Windows. --en UNIX veritas! ////////////////////////////////////////////////////