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
[-- Attachment #1 --]
On Thu, Jan 11, 2007 at 15:30:06 +0100, Ivan Voras wrote:
> John Nielsen wrote:
[...]
> > is it better to mirror at the slice
> > level (journal and fs on different partitions in the same mirror) or at the
> > partition level (journal and fs each have their own mirror) or does it
> > matter?
>
> 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.
--
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.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iD8DBQFFplP6Fw6SP/bBpCARArSvAKDfJM1NlnUHMmlOfv850l6EW31uWACdEuqY
HQX8Qn4IowAdyWd6VDZyKWM=
=kPjo
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070111151258.GA68876>
