Date: Fri, 07 Dec 2012 14:54:35 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: UFS2 and Journaling in 9.1-RC3 Message-ID: <k9ssep$d1m$1@ger.gmane.org> In-Reply-To: <CAFYkXjmT3x5U8sd1AJK6VxUAEdpcaMjDzyL5takKkNg7S2mY6Q@mail.gmail.com> References: <CAFYkXj=iv_MWhLC5YTfXGZA7RdLt3iEEjT_sDfPETCDf%2BK-KaQ@mail.gmail.com> <k9srm6$56d$1@ger.gmane.org> <CAFYkXjmT3x5U8sd1AJK6VxUAEdpcaMjDzyL5takKkNg7S2mY6Q@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 07/12/2012 14:52, CeDeROM wrote: > On Fri, Dec 7, 2012 at 2:41 PM, Ivan Voras <ivoras@freebsd.org> 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. > > Hello Ivan! Thanks for the hint! :-) :-) > > 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: > > -J Enable journaling on the new file system via gjournal. See > gjournal(8) for details. > > This is why I have started reading man gjournal and saw an example > where journal is first created before newfs... > > Will "gjournal label -f" erase all data on partition with existing newfs/ufs2? Very probably, depending how you use it. [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k9ssep$d1m$1>
