Problems with gjournal or something else.
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Oct 31 04:58:07 PDT 2007
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!
-------------- 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/20071031/9fd8df03/attachment.pgp
More information about the freebsd-current
mailing list