From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 17:37:41 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 433F11065679 for ; Wed, 29 Oct 2008 17:37:41 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 1B9048FC19 for ; Wed, 29 Oct 2008 17:37:41 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so96793rvf.43 for ; Wed, 29 Oct 2008 10:37:40 -0700 (PDT) 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:mime-version:content-type; bh=2zVsk2Kq29WqvMAc6zxiNxUnRv5DSipecnx2LXr7gRg=; b=YzYcxEx9wjStDSHcE2rAU2cqwOSoQLwSDvYO3CroX2RLiiUHORUZ+kmDicBzAHXN78 oM4kSq11MkoUjwWgqNrozy+vLIfBH9h+IZXcEx1ZJcKUw569vwkZpvsFF8WY6k375IWj F0jiyhbfXCX+8jGiu5Gv6hM0PWy5d4aLiHw9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=TIO/g+mZRl/dpcDlSGtZrW/ZKkyx1JcvV+Xgv6rymqfPuzLBA485OF7BAbdG6zSbyI /Q4eprz3hh2we41GMfDPhcyLFaz4/EnK/KczqMlHJEl41Jtgrcg61a0AYpwLszOG8V4p SbNL/qk5UEGWNrAuGG3O8NMv0o5dV5rsYVJkA= Received: by 10.140.132.8 with SMTP id f8mr5033677rvd.122.1225300063962; Wed, 29 Oct 2008 10:07:43 -0700 (PDT) Received: by 10.141.146.8 with HTTP; Wed, 29 Oct 2008 10:07:43 -0700 (PDT) Message-ID: Date: Wed, 29 Oct 2008 13:07:43 -0400 From: "Gabriel Lavoie" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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: Wed, 29 Oct 2008 17:37:41 -0000 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). Thanks Gabriel -- Gabriel Lavoie glavoie@gmail.com