From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 15:48:16 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 7F64C106566C for ; Fri, 1 Apr 2011 15:48:16 +0000 (UTC) (envelope-from bob@immure.com) Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE658FC08 for ; Fri, 1 Apr 2011 15:48:15 +0000 (UTC) Received: from rancor.immure.com (rancor.immure.com [10.1.132.9]) by maul.immure.com (8.14.4/8.14.4) with ESMTP id p31FPdWP070655; Fri, 1 Apr 2011 10:25:39 -0500 (CDT) (envelope-from bob@immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.4/8.14.4/Submit) id p31FPdTS092256; Fri, 1 Apr 2011 10:25:39 -0500 (CDT) (envelope-from bob) Date: Fri, 1 Apr 2011 10:25:39 -0500 From: Bob Willcox To: Marko Lerota Message-ID: <20110401152538.GA92060@rancor.immure.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874o6ip0ak.fsf@cosmos.claresco.hr> User-Agent: Mutt/1.5.20 (2009-06-14) X-immure-MailScanner-Information: Please contact the ISP for more information X-immure-MailScanner-ID: p31FPdWP070655 X-immure-MailScanner: Found to be clean X-immure-MailScanner-From: bob@immure.com X-Spam-Status: No Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Willcox 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 15:48:16 -0000 On Fri, Apr 01, 2011 at 03:29:39PM +0200, Marko Lerota wrote: > George Kontostanos writes: > > > Not with the same behavior and it depends on what your server is doing at > > the time of the power interruption. > > It was in stage of booting after first power loss. > > > but ZFS is not the solution to your problem. ZFS is not designed to replace > > the needs of a UPS. > > I'm just asking if this wouldn't happen if I used ZFS. 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. I'm not planing to buy UPS > for home use. I really don't know much about ZFS, but I do know about disks (I work on SAS device drivers for AIX and deal with lots of disks); and I doubt that any filesystem is going to be immune to sudden power failures when writing to a disk. At least I wouldn't trust them. If you care about the integrity of your data, I would reconsider your plans about the UPS. -- Bob Willcox Trying to explain things to people who already know bob@immure.com everything is like trying to teach a bear to dance; Austin, TX it's useless, and it annoys the bear.