From owner-freebsd-current@FreeBSD.ORG Fri Dec 21 13:17:55 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B1216A41A for ; Fri, 21 Dec 2007 13:17:55 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 5E9BC13C448 for ; Fri, 21 Dec 2007 13:17:55 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id D97D645E97; Fri, 21 Dec 2007 13:51:25 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A737045E91; Fri, 21 Dec 2007 13:51:17 +0100 (CET) Date: Fri, 21 Dec 2007 13:50:59 +0100 From: Pawel Jakub Dawidek To: Dmitry Morozovsky Message-ID: <20071221125058.GA5852@garage.freebsd.pl> References: <20071220232913.X82597@woozle.rinet.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <20071220232913.X82597@woozle.rinet.ru> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: current@FreeBSD.org Subject: Re: gnop Q X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 13:17:55 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 20, 2007 at 11:34:10PM +0300, Dmitry Morozovsky wrote: > Hi there Pawel and colleagues, >=20 > am I right in thinking that there's currently no way to iron gnop provide= r in=20 > meta-data? >=20 > I'm thinking of creating the following geom tree: >=20 > ad{4,6,8,10,12}f > | > +> raid3/r0f --+ > | > ad12b | > | | > +> ad12b.nop --+ > +> r0f.journal >=20 > because journal sector size should be equal to data sector size, which is= in=20 > this case 2k. >=20 > ad{4,6,8,10}b are used as two gmirrored swaps >=20 > Any thoughts/hints? Thanks in advance. I'd just create small partition at the begining of raid3/r0f for journal. What you propose is not best because: 1. Journal is on the same disk as one of the RAID components. 2. Journal is not protected with RAID - ad12 dies and your whole system will die. My suggestion is to create small (~2GB) raid3/r0fa and big raid3/r0fd. Then use raid3/r0fa as journal provider and raid3/r0fd as data provider. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHa7ayForvXbEpPzQRAt0tAKDvoYWBAE00iLkS5q3vEcFjz8jdkgCeNQrA F3t5rH+Qz05jCCSQ0Y5Rl1k= =SbkC -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--