Problems with gjournal or something else.

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Nov 1 01:30:05 PDT 2007


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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071101/cf882eb9/attachment.pgp


More information about the freebsd-current mailing list