Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 22:04:23 +0300
From:      "Artem Kuchin" <matrix@itlegion.ru>
To:        "Pawel Jakub Dawidek" <pjd@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problems with gjournal or something else.
Message-ID:  <004801c81bf0$e7bec7c0$0c00a8c0@Artem>
References:  <00f101c819f7$833d5370$0c00a8c0@Artem> <20071031095213.GG8068@garage.freebsd.pl> <02af01c81bb9$7f7828a0$0c00a8c0@Artem> <20071031183838.GB13180@garage.freebsd.pl> <001b01c81bef$54805790$0c00a8c0@Artem> <20071031185826.GC13180@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
>> My point here is that since it is and example of configuring a gjournaling 
>> onf
>> existing system then this 'gjournal label da0s1d da0s1e' will always fail.
>
>No. It will fail only if your file system is using the last sector. UFS
>operates on fragments, so if your disk/slice/partition is not
>fragment-aligned it will work.

So, i shoot myself in a foot and got all those error=5 because in my case
i put journal in the same fs and cut 1GB of data from it, right?

>> Of course it says the warning, but basically, condidering that it overwrites
>> last sector+1 GB of data on existing FS there is actual configuring on
>> existing FS. It is simply destroying it.  

>The example is using separate provider (da0s1e) for the journal, so it
>only needs one sector from da0s1d.

Ah! i see.

What about porper journal size? Any recommendations?

Also, please,  take a look at "BIO_FLUSH on twe driver" thread.

--
Artem




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004801c81bf0$e7bec7c0$0c00a8c0>