From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 23:57:28 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 8AA4E106567B for ; Tue, 21 Oct 2008 23:57:28 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from outbound05.telus.net (outbound05.telus.net [199.185.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 385CF8FC22 for ; Tue, 21 Oct 2008 23:57:27 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edtnaa07.telusplanet.net ([75.157.26.132]) by priv-edtnes90.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081021235726.EHW25082.priv-edtnes90.telusplanet.net@priv-edtnaa07.telusplanet.net>; Tue, 21 Oct 2008 17:57:26 -0600 Received: from oliver.bc.lan (d75-157-26-132.bchsia.telus.net [75.157.26.132]) by priv-edtnaa07.telusplanet.net (BorderWare Security Platform) with ESMTP id 0AB53B00382FB0DE; Tue, 21 Oct 2008 17:57:25 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id EA7D6646B; Tue, 21 Oct 2008 16:57:24 -0700 (PDT) Message-ID: <48FE6C64.7060606@telus.net> Date: Tue, 21 Oct 2008 16:57:24 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: c.kworr@gmail.com, 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: 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 23:57:28 -0000 Volodymyr Kostyrko wrote: > I have some setups were gjournal was put on device rather the on > partition, i.e.: > > [umgah] ~> gmirror status > Name Status Components > mirror/umgah0 COMPLETE ad0 > ad1 > [umgah] ~> gjournal status > Name Status Components > mirror/umgah0.journal N/A mirror/umgah0 > [umgah] ~> glabel status > Name Status Components > ufs/umgah0root N/A mirror/umgah0.journala > label/umgah0swap N/A mirror/umgah0.journalb > ufs/umgah0usr N/A mirror/umgah0.journald > ufs/umgah0var N/A mirror/umgah0.journale Does the above suggest that you've ended up with individual journal providers for each partition anyway? If so, where are they and have you really achieved anything functionally different? Are they at the end of their individually associated partitions or all together somewhere else? Has the ill-advised journaled small partition issue been successfully overcome through what you've done? > [umgah] ~> mount > /dev/ufs/umgah0root on / (ufs, asynchronous, local, noatime, gjournal) > devfs on /dev (devfs, local) > /dev/md0 on /tmp (ufs, asynchronous, local) > /dev/ufs/umgah0var on /var (ufs, asynchronous, local, noatime, gjournal) > /dev/ufs/umgah0usr on /usr (ufs, asynchronous, local, noatime, gjournal) > devfs on /var/named/dev (devfs, local) > > And yes, mirror autosynchronization is turned off, gjournal takes care > of that too. > > It's not stated in manual, but gjournal is typically transparent for any > type of access, just in case of UFS file system is marked as journaled > so any metadata writes can be distinguished from data writes. Without > that gjournal does literally nothing. And what does this mean for your swap partition? Laszlo Nagy wrote earlier: > Another tricky question: why would you journal a SWAP partition? Volodymyr, does your assertion that gjournal does nothing when a file system is not UFS mean that there is no penalty with regard to your swap partition despite the existence of "mirror/umgah0.journalb"? Any chance you'd like to share your command sequence for constructing your gmirror'd and gjournal'd filesystem, Volodymyr? :-) Carl / K0802647