From owner-freebsd-questions@FreeBSD.ORG Thu Nov 6 10:15:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC3491065679 for ; Thu, 6 Nov 2008 10:15:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A35C08FC2C for ; Thu, 6 Nov 2008 10:15:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ky1u7-0005yH-Fx for freebsd-questions@freebsd.org; Thu, 06 Nov 2008 10:15:55 +0000 Received: from utwig.xim.bz ([195.184.197.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2008 10:15:55 +0000 Received: from c.kworr by utwig.xim.bz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Nov 2008 10:15:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Thu, 06 Nov 2008 12:15:47 +0200 Lines: 26 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: utwig.xim.bz User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.17) Gecko/20081001 SeaMonkey/1.1.12 In-Reply-To: Sender: news Subject: Re: gmirror + gjournal setup question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 10:15:58 -0000 Gabriel Lavoie wrote: > Hello, > I would like to know what is the best way to setup gmirror + gjournal, > on a slice level on two hard drives. Do I set up a mirrored journal > partition + mirrored journalized slice (gmirror on top of gjournal) on which > I create my labels with bsdlabels (will create /dev/mirror/name.journal, > /dev/mirror/name.journala, /dev/mirror/name.journalb). Or I setup a > journalized slice on both hard drive and then I mirror /dev/ad0s1.journal > and /dev/ad1s1.journal (gjournal on top of gmirror)? I have hard time to > figure out what would be the best, if I want to avoid mirror rebuild on > power failure and I want fast fsck. I'd also like to make this setup on my > 1st slice (which contains the root filesystem). man gjournal: ... When gjournal is configured on top of gmirror(8) or graid3(8) providers, it also keeps them in a consistent state, thus automatic synchronization on power failure or system crash may be disabled on those providers. ... I think journaling a mirrored partition can be much better. -- Sphinx of black quartz judge my vow.