From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 14:37:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E615D16A400 for ; Tue, 6 Mar 2007 14:37:34 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 76DF013C4A8 for ; Tue, 6 Mar 2007 14:37:34 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] ([192.168.10.217]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l26EbOVU088870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Mar 2007 14:37:24 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45ED7CAB.3010608@unsane.co.uk> Date: Tue, 06 Mar 2007 14:37:31 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Ivan Voras References: <4F9C9299A10AE74E89EA580D14AA10A6028719@royal64.emp.zapto.org> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: gjournal and zfs, questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2007 14:37:35 -0000 Ivan Voras wrote: > Daniel Eriksson wrote: > >> When will gjournal and zfs be committed to the CVS tree? Will either of >> them be merged to STABLE? > > GJournal aready is: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/journal/g_journal.c?rev=1.9&content-type=text/x-cvsweb-markup > > It's unlikely they will be merged to 6-STABLE because they introduce > lots of changes. > That said there are patches for -STABLE although they are a little stale now, as changes have been made to stable, however last time i tried only cosmetic changes were needed (the patches wouldnt apply cleanly because the file(s) had changed but applying the rejected patches by hand worked fine, just look for rejects and see why its been rejected. Usually its because a line has been added to the file or removed and so the line number in the patch is wrong.) See Pawels patches at http://people.freebsd.org/~pjd/patches/ in particular http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch however also search the freebsd-geom and freebsd-current mailing lists for how to apply them and build with gjournal support (for a start Before applying the patch, create the following directories in your source directory: sbin/geom/class/journal sys/geom/journal sys/modules/geom/geom_journal ) That said I've a 6.2-RELEASE box thats got /var and /usr journaled and its been running happily for a month and a half. Give a scary sounding message in dmesg about GEOM_JOURNAL: Cannot suspend file system /usr (error=35). but this post http://lists.freebsd.org/pipermail/freebsd-hackers/2006-August/017894.html indicates its harmless and i havent seen any problems. zfs looks cool and i'm intending to try it once I get a spare machine to run -CURRENT on so i can apply the latest patchset Vince