From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:27:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3F382DEC for ; Tue, 16 Jul 2013 18:27:55 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-vc0-x22c.google.com (mail-vc0-x22c.google.com [IPv6:2607:f8b0:400c:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 02947A11 for ; Tue, 16 Jul 2013 18:27:54 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id ib11so701320vcb.31 for ; Tue, 16 Jul 2013 11:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cnUEwkqfLzEB4+n1pRXEtqV+0XuCBL2sre7QhiQLbQE=; b=rh7FnSYpEDLy9u0N34sE4349byQYpK3YTjsWfCHY7SzpuPPTud7SifyjwW00TZwGho cfy29tzzRliIa4WuD1OadCo1jFlj2cpC6snJet4clGR6AumMoMPTofKxTo9ftOkDfub6 OFMWvoYDLPHOFe/jgh2tp3rrruYqKhjSfrqN1k1vk2nKTaRVkYmeZwH1qNqW9L2rSGhj ncQ54FkzdCzeFfiPGvefV6ghJEdAIVAyYyJkPsDEgFy/AOjTWYMJ+OGGVJqtaPTJCcBy DqTWiA/d7N3YrHx4L6BgyzwjPOesoW9fzvGJDPrhb/xzetpfWNbPMleWhMNCJtFRlySo 0vZg== MIME-Version: 1.0 X-Received: by 10.58.181.225 with SMTP id dz1mr819296vec.95.1373999274590; Tue, 16 Jul 2013 11:27:54 -0700 (PDT) Received: by 10.58.249.1 with HTTP; Tue, 16 Jul 2013 11:27:54 -0700 (PDT) In-Reply-To: <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> Date: Tue, 16 Jul 2013 20:27:54 +0200 Message-ID: Subject: Re: to gmirror or to ZFS From: Johan Hendriks To: Charles Swiger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:27:55 -0000 Op dinsdag 16 juli 2013 schreef Charles Swiger (cswiger@mac.com) het volgende: > Hi-- > > On Jul 16, 2013, at 10:33 AM, Johan Hendriks > > wrote: > [ ... ] > > I would us a zfs for the os. > > I have a couple of servers that did not survive a power failure with > > gmirror. > > The problems i had was when the power failed one disk was in a rebuilding > > state and then when the background fsck started or was busy for some time > > it would crash the whole server. > > Well, "don't do that". :-) When the server reboots because of a powerfailure at night, then it boots. Then it starts to rebuild the mirror on its own, and later the fsck kicks in. Not much i can do about it. Maybe i should have done it without the automatic attachment for a new device. > > Seriously, bring up the box on one disk, force a foreground fsck if needed > to get the filesystem to known clean state, and then rebuild the mirror. > Mixing the mirror rebuild with something like an fsck will just thrash the > disks. > > [ ... ] > > Before people tell me to use an UPS, i used a UPS but the damn thing gave > > way itself. Then after it came back from the warranty repair it gave > way again. > > Grr. That's when you want find another UPS vendor. > > Is apc not the right choice? I think i got a monday morning model. Some times things fail! Regards, > -- > -Chuck > >