From owner-freebsd-current@FreeBSD.ORG Fri Dec 7 13:52: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 AA1EBE2; Fri, 7 Dec 2012 13:52:52 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id E9CA58FC14; Fri, 7 Dec 2012 13:52:51 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so535740lbb.13 for ; Fri, 07 Dec 2012 05:52:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8L6XeHrbmiAatP8SQMsnJ7iKzQ7V+3lEL7CHY1yYebk=; b=0ELBMrFnlv5HVZYw1pnW6Ch2zbQbHYldYiBP47x8I53VDWQDBQ+fCpQcPCDj06Hz0V 2JdgSeGup/JumsOJxaNVj/sq7MNCaU6Pmk0E+Yfn/WhPwhITBLKl7eEtI+oIGucYJaUM Kr5PLENLXHY/T0tDG5UpyKHabY5ZNg2UAUlwvX/kpXUopl1NeDtNBGfA80+6Z1LYVn6x sq2DPFMloq9y/yDEvdrZ21/GQrZv+vxqg0gVlO21rXCMKVrT+MCuDhaEpoOax185qOIn kJQgbBwr/ahu1sUFeoy3oCTgo8ks0Q8gOfIL5c8qEay/RCBvUzeMNquYInzNHUIxNspk 9WSA== MIME-Version: 1.0 Received: by 10.112.14.107 with SMTP id o11mr2543643lbc.98.1354888370568; Fri, 07 Dec 2012 05:52:50 -0800 (PST) Sender: tomek.cedro@gmail.com Received: by 10.114.12.226 with HTTP; Fri, 7 Dec 2012 05:52:50 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Dec 2012 14:52:50 +0100 X-Google-Sender-Auth: rO-_UxODWK4qIdPLP32hIh8aEII Message-ID: Subject: Re: UFS2 and Journaling in 9.1-RC3 From: CeDeROM To: Ivan Voras Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current@freebsd.org 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:52:52 -0000 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. 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? Does newfs -J create journal as well? 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? Thanks!! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info