From owner-freebsd-questions@FreeBSD.ORG Thu Nov 6 13:24:22 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 E124C1065670 for ; Thu, 6 Nov 2008 13:24:21 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id B2E728FC12 for ; Thu, 6 Nov 2008 13:24:21 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so598107rvf.43 for ; Thu, 06 Nov 2008 05:24:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=MFvQareFVZrQ/sJ51Fpw7J6pQ5QsaI0YG7ydfRF4vHg=; b=Oc4M3Loc1ETzTFJIAeYEG3Og2mU+lcoZ8ZFU0Bw6JvLpfP4CLCJgq7/gc0znwtHcJD uestkZ4z/9elAP+FnYD/VE3HM0xG8kSFoVeVWxGcdRTHPQV6RD5lKd2VcWcjxZXUpoTX Tdl91uBpYolYpGSVz/HY1nFo8XtyBJWAEUi98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=QYV5ID/xkT4MStQwH3A/KSoJ090mk6zwU2da7gVyZXADgmbpKZe1DFTTMMihMQrjUI IYlVowSXu8YZIlC3FbAxG8eNFXPz5yELcIAbUjUb2wkkzm6bpBdO03VreLboUS2UK5nH 8Gs7iXRpe3yAbMMnq/yJ/wn0i1KFHMPwxPLKU= Received: by 10.141.79.12 with SMTP id g12mr1179956rvl.0.1225977861187; Thu, 06 Nov 2008 05:24:21 -0800 (PST) Received: by 10.141.146.8 with HTTP; Thu, 6 Nov 2008 05:24:21 -0800 (PST) Message-ID: Date: Thu, 6 Nov 2008 08:24:21 -0500 From: "Gabriel Lavoie" To: "Volodymyr Kostyrko" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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 13:24:22 -0000 Thanks for your reply. I finally understood that with the "power failure" tests I made. Gabriel 2008/11/6 Volodymyr Kostyrko > 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. > > _______________________________________________ > 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" > -- Gabriel Lavoie glavoie@gmail.com