From owner-freebsd-current@FreeBSD.ORG Thu Nov 1 08:30:05 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9D5816A417 for ; Thu, 1 Nov 2007 08:30:05 +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 6439213C4CC for ; Thu, 1 Nov 2007 08:30:05 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4CEDB45E97; Thu, 1 Nov 2007 09:29:36 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 45DC745684; Thu, 1 Nov 2007 09:29:31 +0100 (CET) Date: Thu, 1 Nov 2007 09:29:25 +0100 From: Pawel Jakub Dawidek To: Artem Kuchin Message-ID: <20071101082925.GD13180@garage.freebsd.pl> References: <00f101c819f7$833d5370$0c00a8c0@Artem> <20071031095213.GG8068@garage.freebsd.pl> <02af01c81bb9$7f7828a0$0c00a8c0@Artem> <20071031183838.GB13180@garage.freebsd.pl> <001b01c81bef$54805790$0c00a8c0@Artem> <20071031185826.GC13180@garage.freebsd.pl> <004801c81bf0$e7bec7c0$0c00a8c0@Artem> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nmemrqcdn5VTmUEE" Content-Disposition: inline In-Reply-To: <004801c81bf0$e7bec7c0$0c00a8c0@Artem> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: Problems with gjournal or something else. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2007 08:30:05 -0000 --nmemrqcdn5VTmUEE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 31, 2007 at 10:04:23PM +0300, Artem Kuchin wrote: > >>My point here is that since it is and example of configuring a=20 > >>gjournaling onf > >>existing system then this 'gjournal label da0s1d da0s1e' will always fa= il. > > > >No. It will fail only if your file system is using the last sector. UFS > >operates on fragments, so if your disk/slice/partition is not > >fragment-aligned it will work. >=20 > So, i shoot myself in a foot and got all those error=3D5 because in my ca= se > i put journal in the same fs and cut 1GB of data from it, right? >=20 > >>Of course it says the warning, but basically, condidering that it=20 > >>overwrites > >>last sector+1 GB of data on existing FS there is actual configuring on > >>existing FS. It is simply destroying it. =20 >=20 > >The example is using separate provider (da0s1e) for the journal, so it > >only needs one sector from da0s1d. >=20 > Ah! i see. >=20 > What about porper journal size? Any recommendations? This is quite important to choose it right. I recommend 2GB. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --nmemrqcdn5VTmUEE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHKY5lForvXbEpPzQRAnpPAJ4nmTkZccxHht8biTYnQyiSh8jGzwCfbghv +DWblJERs+FT4mn+Wf4fu2o= =fzgV -----END PGP SIGNATURE----- --nmemrqcdn5VTmUEE--