From owner-freebsd-questions@FreeBSD.ORG Tue May 21 10:42:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E53F3B91 for ; Tue, 21 May 2013 10:42:19 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 32CFD80D for ; Tue, 21 May 2013 10:42:18 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgCAC1Om1GkD30E/2dsb2JhbAANTIM4iRm4OYEfgxMBAQEDAQEBAUsgCgEQCxgJFggHCQMCAQIBDwYBCRURBggFAQEEAQEBARkEh1oDCRKofoomDUuIDoxKgSWBMgeDVAOUdF6DD4RihhKINGyBAw Received: from bebif01.ulb.ac.be (HELO [192.168.0.50]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 21 May 2013 12:40:17 +0200 Message-ID: <519B4F11.9030309@ulb.ac.be> Date: Tue, 21 May 2013 12:40:17 +0200 From: Julien Cigar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: s m Subject: Re: setup journaling for root partition References: <519B40D8.2090809@ulb.ac.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 10:42:20 -0000 On 05/21/2013 12:10, s m wrote: > you mean that journaling is enabled by default???? i don't think so. i > think i misunderstanding. may i ask you to explain it more clear? > gjournal is journaling through GEOM. Since Freebsd 9 soft-updates journaling has been implemented for UFS. So if you want journaling for an UFS FS there is no reason to use gjournal anymore. (check manpages of newfs and/or tunefs and the "-j" and the "-J" flags) > > On Tue, May 21, 2013 at 2:09 PM, Julien Cigar > wrote: > > gjournal should not be used anymore as it has been implemented in > the file system code ... > > > On 05/21/2013 11:24, s m wrote: > > thanks Michael > > this is what i've done (based on the FreeBSD handbook): creating a > partition for journal, go to single user mode, unmount desired > partition > (for example /usr), load gjournal, add journal partition to > /usr partition. > this procedure works well for user and other partitions except > root because > i can not unmount it. > > should i set up journaling in fixit mode with gpart? how? i > try different > ways but none of them work for me:(( > > > > On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio > >wrote: > > On Mon, May 20, 2013 at 10:59 PM, s m > > wrote: > > hello everybody > > i want to setup a journal partition for my root > partition. but i do not > know how to do that. in FreeBSD handbook, it is done > in single user mode, > unmount the desired partition and assign the journal > partition to it. i > test this procedure and it is done for /usr partition > but for root > partition, it can not be unmount in single user mode. > > > See the man page on gjournal > > To configure journaling on the UFS file system using > gjournal, one > should > first create a gjournal provider using the gjournal > utility, then run > newfs(8) or tunefs(8) on it with the -J flag which > instructs UFS to > coop- > erate with the gjournal provider below. > > > > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > " > > > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. > > _______________________________________________ > freebsd-questions@freebsd.org > mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org > " > > -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.