From owner-freebsd-current@FreeBSD.ORG Thu Nov 2 15:26:31 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 E59AB16A403; Thu, 2 Nov 2006 15:26:31 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79FBA43D79; Thu, 2 Nov 2006 15:26:21 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id kA2FQGSO076070; Thu, 2 Nov 2006 09:26:16 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <454A0E1C.6050108@centtech.com> Date: Thu, 02 Nov 2006 09:26:20 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: Ceri Davies , Pawel Jakub Dawidek , Coleman Kane , current@FreeBSD.org References: <346a80220611011709j485b0e16jf9745d6eae848411@mail.gmail.com> <20061102111404.GD41596@submonkey.net> <20061102135404.GA83844@ramen.coleyandcheryl> <20061102135854.GG53552@garage.freebsd.pl> <20061102141842.GE41596@submonkey.net> In-Reply-To: <20061102141842.GE41596@submonkey.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2148/Thu Nov 2 08:47:43 2006 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com 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 15:26:32 -0000 On 11/02/06 08:18, Ceri Davies wrote: > On Thu, Nov 02, 2006 at 02:58:54PM +0100, Pawel Jakub Dawidek wrote: >> 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 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. >> BTW. I suggest using 'async', which is safe when used with gjournal. > > What's the recommentdation re: softupdates? > > Ceri I'm pretty sure it's NO SOFTUPDATES. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------