From owner-freebsd-fs@FreeBSD.ORG Thu Jun 22 13:59:29 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 EB1D716AA19; Thu, 22 Jun 2006 13:59:29 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 028BC444F7; Thu, 22 Jun 2006 13:37:18 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (qbqjyl@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k5MDbCHO071725; Thu, 22 Jun 2006 15:37:17 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k5MDbCBm071724; Thu, 22 Jun 2006 15:37:12 +0200 (CEST) (envelope-from olli) Date: Thu, 22 Jun 2006 15:37:12 +0200 (CEST) Message-Id: <200606221337.k5MDbCBm071724@lurza.secnetix.de> From: Oliver Fromme To: freebsd-fs@FreeBSD.ORG, pjd@FreeBSD.ORG In-Reply-To: <20060622095732.GE30568@garage.freebsd.pl> X-Newsgroups: list.freebsd-fs User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 22 Jun 2006 15:37:18 +0200 (CEST) Cc: Subject: Re: Journaling UFS with gjournal. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-fs@FreeBSD.ORG, pjd@FreeBSD.ORG List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 13:59:30 -0000 Pawel Jakub Dawidek wrote: > Rong-en Fan wrote: > +> I think I must miss something in this announcement. How > +> much space will be used for journal? For example, if > +> the provider is 80G, how much I will lost due to gjournal? > > The size of the journal don't depend on file system size. It more depend > on your disk speed and file system load. For example your disk can write > at 60MB/s. Journal switch time is 10 seconds. The journal provider has > to have place to keep two journals (active and inactive). So bascially > you need 60*10*2MB + gjournal headers. I think 2GB is a safe default. But what happens in the case when you have only one provider? You wrote that you can specify only one provider (e.g. one partition) to gjournal, which will be used for both journal and file system data. In that case, how do you tell how much space is used for the journals and how much space is left for the file system? It didn't become clear from the examples in your initial mail. Another question: What happens if you (accidentally) make the journals provider too small, so it hits the end before the next regular switch? Best regards Oliver PS: I've also sent a follow-up to the -fs mailing list a few days ago, containing a few questions ... did you overlook it? PPS: Thanks again for all your work on journaling! It looks very cool and promising. Any plans to commit it? A wider audience will speed up the process of polishing the rough edges, I think. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. > Can the denizens of this group enlighten me about what the > advantages of Python are, versus Perl ? "python" is more likely to pass unharmed through your spelling checker than "perl". -- An unknown poster and Fredrik Lundh