From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 10:06:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4A3F50C for ; Wed, 17 Jul 2013 10:06:11 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5E6690 for ; Wed, 17 Jul 2013 10:06:11 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b12so1587596wgh.7 for ; Wed, 17 Jul 2013 03:06:10 -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=sc/puSz2y8JggaVTI+mviU+qS9VuIzD/ZAxC2smGwEk=; b=O+iL+7hmG1Nmt9w6Rm3FqnaIFOnlF6+GUD93xZm/Y04wh3YKfH017GSu3Fm6RJrGxM gxp3HfGx/QIFHABFgZDmej2QYVcqE7nMLmoultpmBm98FAxPhVENmZ9piRfrz5MokJCl 7HUIVy1ktb11Ic7Mmf4Jb28KVmWw2GTI81B/+ALZns+l5YJvy8U89tzjqtipzmg/c39H X1YzaiHGgWWJLQabjvPQ73NXhYjpB1Q+SSpUs4Yc6MiFQNGy0bGdX0EVEt6zOdYWRNDP bfylgKU0WfLOESC4NPyPHWqi+o5zfG+hKZ6rq+beDu2IeeyjZNqph+Osm+Zjfz1gjpn8 Ic+A== MIME-Version: 1.0 X-Received: by 10.194.2.13 with SMTP id 13mr4317354wjq.74.1374055570632; Wed, 17 Jul 2013 03:06:10 -0700 (PDT) Received: by 10.216.68.137 with HTTP; Wed, 17 Jul 2013 03:06:10 -0700 (PDT) In-Reply-To: <51E5D256.5070507@gmx.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> <51E5D256.5070507@gmx.com> Date: Wed, 17 Jul 2013 11:06:10 +0100 Message-ID: Subject: Re: to gmirror or to ZFS From: krad To: Nikos Vassiliadis Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Johan Hendriks , FreeBSD Questions 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: Wed, 17 Jul 2013 10:06:11 -0000 not recommended anymore you should run SU+J if your version supports it On 17 July 2013 00:08, Nikos Vassiliadis wrote: > On 07/16/13 21:27, Johan Hendriks wrote: > >> Op dinsdag 16 juli 2013 schreef Charles Swiger (cswiger@mac.com) het >> volgende: >> >> Hi-- >>> >>> On Jul 16, 2013, at 10:33 AM, Johan Hendriks >> javascript:;>> >>> 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. >> > > You could add geom_journal which will minimize the time of fsck to a > second or something like that. Then you don't have to use background fsck > anymore. > > Actually geom_journal's manual page mentions an interesting > side-effect of geom_journal over a geom_mirror: > > you can turn off component synchronization. > > Geom_journal will re-play last writes so whatever was > changed just before the crash will be re-written to both disks. > I haven't used this but it makes sense in theory. > > > Maybe i should have done it without the automatic attachment for a new >> device. >> > > I always turn off automatic synchronization or stale components > as well. > > It seems to me that people don't really use geom_journal > or maybe they just don't talk about it like it's some > sort of secret:) > > just my two cents, > > Nikos > > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " >