From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 08:19:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55799106566C for ; Tue, 21 Oct 2008 08:19:32 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id 027598FC22 for ; Tue, 21 Oct 2008 08:19:31 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edmwaa07.telusplanet.net ([204.209.205.55]) by priv-edmwes23.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081021081931.ZKEF18931.priv-edmwes23.telusplanet.net@priv-edmwaa07.telusplanet.net>; Tue, 21 Oct 2008 02:19:31 -0600 Received: from oliver.bc.lan (d75-157-26-132.bchsia.telus.net [75.157.26.132]) by priv-edmwaa07.telusplanet.net (BorderWare Security Platform) with ESMTP id 81270726343C87A9; Tue, 21 Oct 2008 02:19:30 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id 32DD3646B; Tue, 21 Oct 2008 01:19:29 -0700 (PDT) Message-ID: <48FD9091.8000809@telus.net> Date: Tue, 21 Oct 2008 01:19:29 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48FD6665.5000102@telus.net> <48FD6803.7080802@shopzeus.com> In-Reply-To: <48FD6803.7080802@shopzeus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Laszlo Nagy Subject: Re: gjournal: journaled slices vs. journaled partitions 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, 21 Oct 2008 08:19:32 -0000 Laszlo Nagy wrote: >> So how do I achieve per-slice journaling instead of per-partition? > The docs only says this: "gjournal only supports UFS2". It does not > specifically say that you cannot have per-slice journaling. However, > since you could have other filesystems on your slice, I bet that slice > based journaling is not supported. I thought I read somewhere that because gjournal is block based and not really part of the filesystem, that it could easily be extended for any other filesystem. My imagination said that gjournal was probably therefore only temporarily limited to a slice full of UFS partitions. Anyone know for sure? > Another tricky question: why would you journal a SWAP partition? Well, I don't really want to, but how big does a partition like /var have to be before it's no longer ill-advised to journal it individually? A fair bit of writing can occur in /var and the scenario my server will occupy has me concerned about inglorious shutdowns. What are the actual reasons for why journaling a small partition is considered a bad idea? Carl / K0802647