From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 11:58:07 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D9FB16A419 for ; Wed, 31 Oct 2007 11:58:07 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id C1B2413C494 for ; Wed, 31 Oct 2007 11:58:06 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9628B45E97; Wed, 31 Oct 2007 10:52:18 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9A14A45683; Wed, 31 Oct 2007 10:52:14 +0100 (CET) Date: Wed, 31 Oct 2007 10:52:13 +0100 From: Pawel Jakub Dawidek To: Artem Kuchin Message-ID: <20071031095213.GG8068@garage.freebsd.pl> References: <00f101c819f7$833d5370$0c00a8c0@Artem> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4LwthZj+AV2mq5CX" Content-Disposition: inline In-Reply-To: <00f101c819f7$833d5370$0c00a8c0@Artem> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: Problems with gjournal or something else. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 11:58:07 -0000 --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 1100MB * > twed1s1b swap 1024MB SWAP > twed1s1d 5120MB * > twed1s1e 30720MB * > twed1s1f 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--