From owner-freebsd-current@FreeBSD.ORG Thu Nov 2 13:59:39 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE60616A407 for ; Thu, 2 Nov 2006 13:59:39 +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 AB94643DCA for ; Thu, 2 Nov 2006 13:59:04 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 5B1AB45696; Thu, 2 Nov 2006 14:59:02 +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 F31A245681; Thu, 2 Nov 2006 14:58:56 +0100 (CET) Date: Thu, 2 Nov 2006 14:58:54 +0100 From: Pawel Jakub Dawidek To: Coleman Kane Message-ID: <20061102135854.GG53552@garage.freebsd.pl> References: <346a80220611011709j485b0e16jf9745d6eae848411@mail.gmail.com> <20061102111404.GD41596@submonkey.net> <20061102135404.GA83844@ramen.coleyandcheryl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sLx0z+5FKKtIVDwd" Content-Disposition: inline In-Reply-To: <20061102135404.GA83844@ramen.coleyandcheryl> 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=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Ceri Davies , current@freebsd.org Subject: Re: gjournal and fstab 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: Thu, 02 Nov 2006 13:59:39 -0000 --sLx0z+5FKKtIVDwd Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 02, 2006 at 01:54:04PM +0000, Coleman Kane wrote: > On Thu, Nov 02, 2006 at 11:14:04AM +0000, Ceri Davies wrote, and it was p= roclaimed: > > On Wed, Nov 01, 2006 at 08:09:05PM -0500, Coleman Kane wrote: > > > Hi, nice job with the gjournal update. > > >=20 > > > I am testing it out and am curious if you can tell me how best to add > > > entries for gjournal filesystems in /etc/fstab. > > >=20 > > > It seems that if I add (as a line in fstab): > > > /dev/ad0s1f.journal /usr ffs noatime,async 2 2 > > >=20 > > >=20 > > > Also, fsck seems to not know how to identify the filesystem type by m= ount > > > nor by devicename. I must run fsck_ffs explicitly. I must also mount = them > > > manually, explicitly. > >=20 > > I have: > > /dev/ad0s1g.journal /usr/home ufs rw,nosuid 2 2 > >=20 > > which works ok. > >=20 > > Do you have GEOM_JOURNAL in your kernel or are you loading it from > > loader.conf? > >=20 > > Ceri > > --=20 > > That must be wonderful! I don't understand it at all. > > -- Moliere >=20 > I am loading it from loader.conf. In addition, I added -DUFS_GJOURNAL > to /usr/src/sys/modules/ufs/Makefile (the CFLAGS) to compile in support > for GJOURNAL to the ufs.ko module. >=20 > I am loading the geom_journal.ko from the loader as well. Perhaps it > is unhappy that I left out the "rw" flag mount option, I will try it > again with that added. BTW. I suggest using 'async', which is safe when used with gjournal. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --sLx0z+5FKKtIVDwd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFSfmeForvXbEpPzQRAufMAJ4kfD+IvToCmo1X+qolcVFgJ5TCAwCfUfrA N+G6/KXwBJw44Ru6addoLaw= =uBq1 -----END PGP SIGNATURE----- --sLx0z+5FKKtIVDwd--