From owner-freebsd-current@FreeBSD.ORG Thu Nov 2 13:53:33 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 AE7AD16A47E for ; Thu, 2 Nov 2006 13:53:33 +0000 (UTC) (envelope-from cokane@mail.cokane.org) Received: from ms-smtp-01.ohiordc.rr.com (ms-smtp-01.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C61B43D70 for ; Thu, 2 Nov 2006 13:53:32 +0000 (GMT) (envelope-from cokane@mail.cokane.org) Received: from ramen.cokane.org (rrcs-70-62-16-230.central.biz.rr.com [70.62.16.230]) by ms-smtp-01.ohiordc.rr.com (8.13.6/8.13.6) with SMTP id kA2DrRXe013004 for ; Thu, 2 Nov 2006 08:53:28 -0500 (EST) Received: (qmail 84115 invoked by uid 1001); 2 Nov 2006 13:54:04 -0000 Date: Thu, 2 Nov 2006 13:54:04 +0000 From: Coleman Kane To: Ceri Davies , pjd@freebsd.org, current@freebsd.org Message-ID: <20061102135404.GA83844@ramen.coleyandcheryl> References: <346a80220611011709j485b0e16jf9745d6eae848411@mail.gmail.com> <20061102111404.GD41596@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061102111404.GD41596@submonkey.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Mailman-Approved-At: Thu, 02 Nov 2006 14:09:13 +0000 Cc: 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:53:33 -0000 On Thu, Nov 02, 2006 at 11:14:04AM +0000, Ceri Davies wrote, and it was proclaimed: > On Wed, Nov 01, 2006 at 08:09:05PM -0500, Coleman Kane wrote: > > Hi, nice job with the gjournal update. > > > > I am testing it out and am curious if you can tell me how best to add > > entries for gjournal filesystems in /etc/fstab. > > > > It seems that if I add (as a line in fstab): > > /dev/ad0s1f.journal /usr ffs noatime,async 2 2 > > > > > > Also, fsck seems to not know how to identify the filesystem type by mount > > nor by devicename. I must run fsck_ffs explicitly. I must also mount them > > manually, explicitly. > > I have: > /dev/ad0s1g.journal /usr/home ufs rw,nosuid 2 2 > > which works ok. > > Do you have GEOM_JOURNAL in your kernel or are you loading it from > loader.conf? > > Ceri > -- > That must be wonderful! I don't understand it at all. > -- Moliere 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. 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. -- Coleman Kane