Re: Problems with gjournal or something else.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Thu, 1 Nov 2007 09:29:25 +0100
On Wed, Oct 31, 2007 at 10:04:23PM +0300, Artem Kuchin wrote:
> >>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?

This is quite important to choose it right. I recommend 2GB.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Thu Nov 01 2007 - 07:30:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC