From owner-freebsd-fs@FreeBSD.ORG Mon Jun 19 19:55:24 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D099016A479 for ; Mon, 19 Jun 2006 19:55:24 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30303.mail.mud.yahoo.com (web30303.mail.mud.yahoo.com [68.142.200.96]) by mx1.FreeBSD.org (Postfix) with SMTP id 8915243D4C for ; Mon, 19 Jun 2006 19:55:23 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 8453 invoked by uid 60001); 19 Jun 2006 19:55:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CVzHRyvC2+CVR1y6hNyEnzKQ7npUfVHqqHx5eyTridSjaxn3xP7bzti6DORpLyG+P/9ckc3MgI5K0j1R/5QaveoEAtQe410fJKFmaFLmh94om4u06I9O6ByjGVYq2xMgzsh3Mwj/a8iSNCIb9isoTWUTNY1ey0UAZRiXOaPYrng= ; Message-ID: <20060619195522.8451.qmail@web30303.mail.mud.yahoo.com> Received: from [213.54.95.153] by web30303.mail.mud.yahoo.com via HTTP; Mon, 19 Jun 2006 12:55:22 PDT Date: Mon, 19 Jun 2006 12:55:22 -0700 (PDT) From: "R. B. Riddick" To: Niki Denev , freebsd-fs@FreeBSD.org In-Reply-To: <4496EDB2.5040706@cytexbg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Journaling UFS with gjournal. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 19:55:24 -0000 --- Niki Denev wrote: > I wonder if it's possible to use gjournal on > existing file system with the journal on a vnode/(swap?) backed md(4) device? > (i want to test on a existing installation without free unpartitioned space) > Hmm... I think that would be a not so good idea. Proof: Consider the follow scenario: 1. journal area A is nearly full, so we switch to journal area B 2. switching to B completed 3. starting to execute update order-requests in area A 4. before requests in area A is completely executed, the power fails ==> journal A and B is lost, but file system is not necessarily in a consistent state (since A has not been executed completely) Btw.: I found another big advantage (beside the BIO_FLUSH): NEVER FSCK AGAIN! ;-) -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com