Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2008 19:20:30 +0200
From:      "Ivan Voras" <ivoras@freebsd.org>
To:        Unga <unga888@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: UFS2 Journaling implementation detail
Message-ID:  <9bbcef730804191020v735614b6j26333a118c7d05b9@mail.gmail.com>
In-Reply-To: <293157.38247.qm@web57001.mail.re3.yahoo.com>
References:  <9bbcef730804180840y77adff73x7ad0cf90c82633a9@mail.gmail.com> <293157.38247.qm@web57001.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/4/19 Unga <unga888@yahoo.com>:
> --- Ivan Voras <ivoras@freebsd.org> wrote:
>
>
> > No, gjournal is a layer below the file system (think
>  > of it as a virtual disk drive) that does
>  journalling.
>  > You need to create a file system on top of gjournal.
>
>  > Pawel added some necessary integration for UFS.
>  >
>  Since the gjournal is block level journaling, not file
>  system level journaling, can one journal be used to
>  cover two or more partitions?
>
>  Example:
>  gjournal label -c ad0s4e ad0s4d
>  gjournal label -c ad0s4f ad0s4d
>  gjournal label -c ad0s4g ad0s4d
>
>  newfs -J /dev/ad0s4e.journal
>  newfs -J /dev/ad0s4f.journal
>  newfs -J /dev/ad0s4g.journal
>

Unfortunately not, the most you can do is divide that one partition
into more partitions and use each of those separately for each file
system.

Most of those limitations (journal size, usage, etc.) stem from the
fact that gjournal is not "proper" file system journaling in the sense
that it's implemented outside of the actual file system and is
basically independent from it. A "proper" journalled UFS (like Sun's)
would behave nicer.



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