Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2007 11:25:13 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-geom@freebsd.org
Subject:   Re: gjournal size reservation?
Message-ID:  <f6l1pq$l4s$1@sea.gmane.org>
In-Reply-To: <468BB473.304@vwsoft.com>
References:  <468BB473.304@vwsoft.com>

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

[-- Attachment #1 --]
Volker wrote:
> hej,
> 
> I've never played with gjournal before and would like to try it to get
> protection of the root-fs, var and tmp. I'm wondering if someone can
> answer these simple questions:
> 
> 1) As I understand, gjournal does not need to run on a filesystem but
> is also able to journal a whole slice. What are the pro's and con's
> for running gjournal on a whole slice or per filesystem?

In either case the journaling is "per slice", the "on a filesystem" mode 
is mostly just a convenience shortcut for the users so they don't need 
to set a gjournal slice separately.

> 1a) if journaling per filesystem, is gjournal able to use just one
> journaling area for more than one filesystem?

Almose certainly no.

> 2) How much space is required for journaling? I'm having space to get
> the journal into it's own slice or at least a bsd label.

> slice 2 (8g) can be used for spare space and for gjournal but I'm
> unsure how much space to give gjournal.

The calculation for this involves disk bandwidth multiplied by the 
"journal flush interval", multiplied by two because there are two 
journal areas, and it's usually recommended that it should be at least 1 
GB.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGjgp5ldnAQVacBcgRAp2+AKC7c49cpiGxJ8dVRww7/W99AQSMKwCeJgsp
1zr2+h7Dzh1NnBnAZeQJ4TU=
=eGVP
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f6l1pq$l4s$1>