Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 10:52:13 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Artem Kuchin <matrix@itlegion.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problems with gjournal or something else.
Message-ID:  <20071031095213.GG8068@garage.freebsd.pl>
In-Reply-To: <00f101c819f7$833d5370$0c00a8c0@Artem>
References:  <00f101c819f7$833d5370$0c00a8c0@Artem>

next in thread | previous in thread | raw e-mail | index | archive | help

--4LwthZj+AV2mq5CX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> It is FreeBSD 7-BETA1
> RAID controller: 3WARE 7500x
> device driver: twe
> SMP enabled (Pentium D)
> Mirror raid.
>=20
> I have created the following partitions:
>=20
> twed1s1a  <none>       1100MB *
> twed1s1b  swap         1024MB SWAP
> twed1s1d  <none>       5120MB *
> twed1s1e  <none>      30720MB *
> twed1s1f  <none>        261GB *
>=20
> did reboot just is case something is cached.
>=20
> Then did:
>=20
> newfs -J -b 8192 -f 1024 -g 50000 -h 20 -i 40960 /dev/twed1s1f
>=20
> 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.

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

--4LwthZj+AV2mq5CX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHKFBNForvXbEpPzQRAmC/AJ9MvlvEylVSNwkPNfXsJbkB12vQ3gCghUOW
RnPSZxs9G9ud5QPmuu4DwKM=
=YTgP
-----END PGP SIGNATURE-----

--4LwthZj+AV2mq5CX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071031095213.GG8068>