Journaling UFS with gjournal.
R. B. Riddick
arne_woerner at yahoo.com
Mon Jun 19 19:55:24 UTC 2006
--- Niki Denev <nike_d at 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
More information about the freebsd-fs
mailing list