From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 16:27:13 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 28AC3106564A for ; Fri, 1 Apr 2011 16:27:13 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from lisa.milos.co.za (lisa.milos.co.za [109.169.49.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9992D8FC08 for ; Fri, 1 Apr 2011 16:27:12 +0000 (UTC) Received: (qmail 50931 invoked by uid 89); 1 Apr 2011 16:27:10 -0000 Received: from unknown (HELO claydesktop) (clay@milos.co.za@84.203.138.134) by lisa.milos.co.za with ESMTPA; 1 Apr 2011 16:27:10 -0000 Message-ID: <563A03036A7A45429F7D6CC83FFF5B22@claydesktop> From: "Clayton Milos" To: "Marko Lerota" References: <87d3l6p5xv.fsf@cosmos.claresco.hr><874o6ip0ak.fsf@cosmos.claresco.hr> <20110401152538.GA92060@rancor.immure.com> Date: Fri, 1 Apr 2011 17:27:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 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 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 16:27:13 -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. I used to live in Sotuh Africa where the power gets bad at times. A UPS was a requirement for me to get my work done uninterrupted. Small UPS units are not expensive nowadays and it will protect the power supplies from brownouts and spikes as well. You will seldom make as good a small investment as a UPS. If you are really anti-UPS for some reason then at least do what Stefan suggested or go into the BIOS and set the motherboard's power state after AC failure to OFF. This means you will have to press a button to power it on again which should be when the power is stable again. Honestly though, if the power is as bad as it seems where you are I'm surprised you haven't bought a UPS already. You can get them at 50 Euro for a small one. It will pay for iself in hardware cost alone. I've had power spikes taking out PSU's and hard drives before. -Clay