From owner-freebsd-current@FreeBSD.ORG Fri Dec 7 15:09:52 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59B84EA1; Fri, 7 Dec 2012 15:09:52 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0F0DE8FC13; Fri, 7 Dec 2012 15:09:51 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 82F6D2842E; Fri, 7 Dec 2012 16:09:44 +0100 (CET) Received: from [192.168.1.2] (unknown [89.177.49.69]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 920CE28422; Fri, 7 Dec 2012 16:09:43 +0100 (CET) Message-ID: <50C206B7.5040800@quip.cz> Date: Fri, 07 Dec 2012 16:09:43 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: CeDeROM Subject: Re: UFS2 and Journaling in 9.1-RC3 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Ivan Voras X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 07 Dec 2012 15:09:52 -0000 CeDeROM wrote: > On Fri, Dec 7, 2012 at 2:41 PM, Ivan Voras wrote: >> It looks like you are confusing GEOM journalling (-J) and UFS-SU >> journalling (-j). They are very different, and today you probably want >> to use the latter. If you are installing 9.x from scratch, it will be >> enabled by default. If not, you can use newfs -j or tunefs -j to enable it. > > "When any other means fail, read the manual" heh :-) > > I am still a bit confused, even after reading [1], because there is no > explanation of difference between GJournal and SU / SU+J (which was > introduced in FreeBSD 9.0). I understand GJournal works below > filesystem level and I dont need to use fsck. SU/SU+J is part of the > UDF/UDF2 filesystem. I should not use SU and GJournal at the same > time. What are the advantages of SU/US+J? What is the advantage of > SU+J over SU? Should I use Gjournal or SU/SU+J? Any hints welcome! :-) > > If I have already created UFS2 with -J, I understand I can switch it > off, can I then simply turn of UFS+J (-j) with no data loss on > existing filesystem? > > Which solution is better for drives>1TB when I dont want to wait an > hour for fsck? In short - if you choose Gjournal with data and journal on the same disk, you will have about half write speed. If you choose SU+J, you will not be able to use UFS snapshot feature at this time (there is some bug and snapshots on SU+J is disabled) Other than that - SU+J is easier to Enable / Disable on existing partition but is not well testet - it is younger technology than Gjournal. Miroslav Lachman