From owner-freebsd-geom@FreeBSD.ORG Wed Oct 29 19:40:28 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9C231065673 for ; Wed, 29 Oct 2008 19:40:28 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 998C98FC18 for ; Wed, 29 Oct 2008 19:40:28 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so151148rvf.43 for ; Wed, 29 Oct 2008 12:40:28 -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:in-reply-to:mime-version:content-type:references; bh=ZKgdZZpPmmVL5R03/SUjNijt8/mUxhuSCqaZ7soZcWQ=; b=orxpw5VxzmuBVtofm2To9C8LDKcIDelvjMT4WXEaax+Pk4RaZkKpdA7Y4FY8d9imrt UYzNWtuHheMBg0/Dikdau5g86QYLbLeY5tswnOuPlvcsc+ihKw9zJW2uL/RDOamX/Rd0 wI6zJWpDSs3nK+MfIhW/g53eFv2wkWckgtJok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=B41PjuHlnIfJK61y21yCq7WrC/KyJnQFWO9Ev7QOd45DQE9HRmhtO8eVx/+xy4jVbk vqmsI4ElU6TLtaKiDfCya0dakJHu1c3zHuf3UBRVGzkfD19cQ73WvkMaiI+NNyL6b6bN 3yC+qon4J5gE0ptNcIGGWH9BDw68LsjeVvq4o= Received: by 10.140.203.9 with SMTP id a9mr5098430rvg.203.1225307497200; Wed, 29 Oct 2008 12:11:37 -0700 (PDT) Received: by 10.141.146.8 with HTTP; Wed, 29 Oct 2008 12:11:37 -0700 (PDT) Message-ID: Date: Wed, 29 Oct 2008 15:11:37 -0400 From: "Gabriel Lavoie" To: freebsd-geom@freebsd.org 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 Subject: gmirror + gjournal setup question X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2008 19:40:28 -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