Re: Problems with gjournal or something else.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 31 Oct 2007 10:52:13 +0100
On Mon, Oct 29, 2007 at 09:46:59AM +0300, Artem Kuchin wrote:
> I am experiencing  a very weird problem with filesystem
> and it seems to be related to gjournal.
> 
> It is FreeBSD 7-BETA1
> RAID controller: 3WARE 7500x
> device driver: twe
> SMP enabled (Pentium D)
> Mirror raid.
> 
> I have created the following partitions:
> 
> twed1s1a  <none>       1100MB *
> twed1s1b  swap         1024MB SWAP
> twed1s1d  <none>       5120MB *
> twed1s1e  <none>      30720MB *
> twed1s1f  <none>        261GB *
> 
> did reboot just is case something is cached.
> 
> Then did:
> 
> newfs -J -b 8192 -f 1024 -g 50000 -h 20 -i 40960 /dev/twed1s1f
> 
> gjournal load
> gjournal label -f /dev/twed1s1f
> tunefs -J enable -n disable /dev/twed1s1f
> mount -o noatime /dev/twed1s1f.journal /NEW/suit

It's wrong order. See gjournal(8) manual page, EXAMPLES section. You
cannot create file system and then put journal on the same partition.
gjournal would warn you about that, but you used force (-f) option.

-- 
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 Wed Oct 31 2007 - 10:58:07 UTC

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