Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2006 12:55:22 -0700 (PDT)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        Niki Denev <nike_d@cytexbg.com>, freebsd-fs@FreeBSD.org
Subject:   Re: Journaling UFS with gjournal.
Message-ID:  <20060619195522.8451.qmail@web30303.mail.mud.yahoo.com>
In-Reply-To: <4496EDB2.5040706@cytexbg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Niki Denev <nike_d@cytexbg.com> wrote:
> I wonder if it's possible to use gjournal on
> existing file system with the journal on a vnode/(swap?) backed md(4) device?
> (i want to test on a existing installation without free unpartitioned space)
> 
Hmm... I think that would be a not so good idea.

Proof: Consider the follow scenario:
1. journal area A is nearly full, so we switch to journal area B
2. switching to B completed
3. starting to execute update order-requests in area A
4. before requests in area A is completely executed, the power fails
   ==> journal A and B is lost, but file system is not necessarily in a
       consistent state (since A has not been executed completely)

Btw.: I found another big advantage (beside the BIO_FLUSH):
NEVER FSCK AGAIN! ;-)

-Arne

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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