From owner-freebsd-current@FreeBSD.ORG Fri Dec 7 13:54:55 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 55826205 for ; Fri, 7 Dec 2012 13:54:55 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id EDE968FC12 for ; Fri, 7 Dec 2012 13:54:54 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TgyOJ-0006Q2-Uz for freebsd-current@freebsd.org; Fri, 07 Dec 2012 14:54:59 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 14:54:59 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 14:54:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Subject: Re: UFS2 and Journaling in 9.1-RC3 Date: Fri, 07 Dec 2012 14:54:35 +0100 Lines: 56 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig83AAFCA6891ECCB2BAD9645C" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120812 Thunderbird/14.0 In-Reply-To: X-Enigmail-Version: 1.4.3 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 13:54:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig83AAFCA6891ECCB2BAD9645C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/12/2012 14:52, 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 enabl= e it. >=20 > Hello Ivan! Thanks for the hint! :-) :-) >=20 > When I have created a new filesystem type 2 (UFS2) with -J switch, > then on mount I get this error that filesystem has journaling enabled > but no provider is specified, so it looks like no journal is enabled? Yes. > Does newfs -J create journal as well? No. > According to man newfs: >=20 > -J Enable journaling on the new file system via gjournal. Se= e > gjournal(8) for details. >=20 > This is why I have started reading man gjournal and saw an example > where journal is first created before newfs... >=20 > Will "gjournal label -f" erase all data on partition with existing newf= s/ufs2? Very probably, depending how you use it. --------------enig83AAFCA6891ECCB2BAD9645C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlDB9RsACgkQ/QjVBj3/HSz3OACdHhu2A0qEbaeiqY21AbPjUcng OAoAnRimZfKZeXRH4b++eM4A4ihgt48s =NEtK -----END PGP SIGNATURE----- --------------enig83AAFCA6891ECCB2BAD9645C--