From owner-freebsd-fs@FreeBSD.ORG Thu Jun 22 14:13:48 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 B859416A47C for ; Thu, 22 Jun 2006 14:13:48 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 942B243D58 for ; Thu, 22 Jun 2006 14:13:46 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 889B351814; Thu, 22 Jun 2006 16:13:45 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 8B84D51307 for ; Thu, 22 Jun 2006 16:13:40 +0200 (CEST) Date: Thu, 22 Jun 2006 16:11:01 +0200 From: Pawel Jakub Dawidek To: freebsd-fs@FreeBSD.ORG Message-ID: <20060622141101.GI30568@garage.freebsd.pl> References: <20060622095732.GE30568@garage.freebsd.pl> <200606221337.k5MDbCBm071724@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CNK/L7dwKXQ4Ub8J" Content-Disposition: inline In-Reply-To: <200606221337.k5MDbCBm071724@lurza.secnetix.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 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: Thu, 22 Jun 2006 14:13:48 -0000 --CNK/L7dwKXQ4Ub8J Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 22, 2006 at 03:37:12PM +0200, Oliver Fromme wrote: +> 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? +> >=20 +> > The size of the journal don't depend on file system size. It more dep= end +> > on your disk speed and file system load. For example your disk can wr= ite +> > 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. +>=20 +> 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. There is no manual page for gjournal(8) yet. There is an option you can use to specify journal size: # gjournal label -s 2147483648 ad0 This will create 2GB journal and the rest will be for the data. +> Another question: What happens if you (accidentally) make +> the journals provider too small, so it hits the end before +> the next regular switch? Currently it will panic, but I'm working on it. +> 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? If you haven't CCed me, I probably did. +> 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. There are some decisions I need to make before it will go to HEAD. Like 'gjournal' mount option. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --CNK/L7dwKXQ4Ub8J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEmqT1ForvXbEpPzQRAn0RAKCbLysV/EiK6fdluB+/zdR6DwJHtACfYJ90 OBNsnhHDk+tq24rRDxhySm8= =B8H0 -----END PGP SIGNATURE----- --CNK/L7dwKXQ4Ub8J--