From owner-freebsd-stable@FreeBSD.ORG Fri Sep 1 18:57:13 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9409D16A592 for ; Fri, 1 Sep 2006 18:57:13 +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 C710F43D72 for ; Fri, 1 Sep 2006 18:57:05 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id B305251398; Fri, 1 Sep 2006 20:57:03 +0200 (CEST) Received: from localhost (djw246.neoplus.adsl.tpnet.pl [83.24.0.246]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id EB82751391; Fri, 1 Sep 2006 20:56:56 +0200 (CEST) Date: Fri, 1 Sep 2006 20:56:37 +0200 From: Pawel Jakub Dawidek To: Kevin Kramer Message-ID: <20060901185637.GA6759@garage.freebsd.pl> References: <44F7320E.6040608@centtech.com> <20060901111615.GB1819@garage.freebsd.pl> <44F831B7.90807@centtech.com> <20060901145939.GC1819@garage.freebsd.pl> <44F84EB9.6000006@centtech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <44F84EB9.6000006@centtech.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-stable@FreeBSD.org Subject: Re: gjournal questions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 18:57:13 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 01, 2006 at 10:16:09AM -0500, Kevin Kramer wrote: > I've already redone the whole thing. here are the steps i took >=20 > umount /scr09 > umount /scr10 > gjournal stop da2.journal > gjournal stop da4.journal >=20 > ** had not done this on the first attempt > newfs /dev/da1 > newfs /dev/da3 This is not needed. > gjournal label -v /dev/da2 /dev/da1 > gjournal label -v /dev/da4 /dev/da3 >=20 > newfs -J -L scr09 /dev/da2.journal > newfs -J -L scr10 /dev/da4.journal >=20 > mount /scr09 > mount /scr10 Don't know how your /etc/fstab looks like, but you definiately should use 'async' mount option, which is safe to use with gjournaled file systems. > it is looking much better so far. before, i was getting this in the debug= (only on /scr10) and my mountd process was always the top process >=20 > Sep 1 00:00:11 donkey kernel: fsync: giving up on dirty > Sep 1 00:00:11 donkey kernel: 0xc9ee1bb0: tag devfs, type VCHR > Sep 1 00:00:11 donkey kernel: usecount 1, writecount 0, refcount 198 mou= ntedher > e 0xc9ebfb00 > Sep 1 00:00:11 donkey kernel: flags () > Sep 1 00:00:11 donkey kernel: v_object 0xc9fbb528 ref 0 pages 5933 > Sep 1 00:00:11 donkey kernel: lock type devfs: EXCL (count 1) by thread = 0xc9bd4 > 180 (pid 38) > Sep 1 00:00:11 donkey kernel: dev ufs/scr10 > Sep 1 00:00:11 donkey kernel: GEOM_JOURNAL: Cannot suspend file system /= scr10 ( > error=3D35). It happens sometimes under load, haven't investigated yet what exactly is happening, but you can ignore it for now, it's harmless, it just means journal switch will be done a bit later. BTW. 8GB for journals is much. You should not need more than 2GB probably. Of course it will work with 8GB just fine. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFE+IJlForvXbEpPzQRAqSWAJ92yOYLIlQbJEGthTRpLhtDix+/WwCcCLW/ qzcp6QskinL3EkkXK8BUwFw= =91Hb -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--