Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2007 17:12:58 +0200
From:      Vasil Dimov <vd@FreeBSD.org>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Best practices for using gjournal with gmirror?
Message-ID:  <20070111151258.GA68876@qlovarnika.bg.datamax>
In-Reply-To: <eo5hle$nnh$1@sea.gmane.org>
References:  <200701102321.01562.lists@jnielsen.net> <eo5hle$nnh$1@sea.gmane.org>

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

--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 11, 2007 at 15:30:06 +0100, Ivan Voras wrote:
> John Nielsen wrote:
[...]
> > is it better to mirror at the slice=20
> > level (journal and fs on different partitions in the same mirror) or at=
 the=20
> > partition level (journal and fs each have their own mirror) or does it=
=20
> > matter?
>=20
> It doesn't matter. By default journal will be created inside the same
> partition as the file system.

It matters a bit - in case of a single mirror (and all partitions on top
of it) when there is a crash, during disk activity, the whole mirror
will get rebuild. While if there is a separate mirror for each
filesystem the chance is that some filesystems will not be active during
the power failure/crash and thus their mirror will not need to be
rebuild. It is just a matter of speed, not data loss, and it depends on
the usage of the filesystems. Currently I have 2 mirrors and after a
crash just one of them is rebuild because the other one is rarely used.

--=20
Vasil Dimov
gro.DSBeerF@dv
%
Shaw's Principle:
        Build a system that even a fool can use, and only a fool will
want to use it.

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQFFplP6Fw6SP/bBpCARArSvAKDfJM1NlnUHMmlOfv850l6EW31uWACdEuqY
HQX8Qn4IowAdyWd6VDZyKWM=
=kPjo
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--



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