Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2007 13:50:59 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        current@FreeBSD.org
Subject:   Re: gnop Q
Message-ID:  <20071221125058.GA5852@garage.freebsd.pl>
In-Reply-To: <20071220232913.X82597@woozle.rinet.ru>
References:  <20071220232913.X82597@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071221125058.GA5852>