Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 12:40:17 +0200
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        s m <sam.gh1986@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: setup journaling for root partition
Message-ID:  <519B4F11.9030309@ulb.ac.be>
In-Reply-To: <CAA_1SgF677vp7aRsUA376Mj-cuqc2MN2QPPAsbJD_sWZ_Y1wWA@mail.gmail.com>
References:  <CAA_1SgH_RxFUXDj3VyvUN1Kzb6BPkJxFi8y8kjJn9Z=ytne=yw@mail.gmail.com> <CAHu1Y73T786EBowTtneSOqviKnkz7Be6cp2HKasvkqkSfYnHfw@mail.gmail.com> <CAA_1SgEi5eA%2Bc64q-Ui_Gzt=QZ7Lk5KV=mAVP%2BTE_Mk70jERAw@mail.gmail.com> <519B40D8.2090809@ulb.ac.be> <CAA_1SgF677vp7aRsUA376Mj-cuqc2MN2QPPAsbJD_sWZ_Y1wWA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jcigar@ulb.ac.be 
> <mailto:jcigar@ulb.ac.be>> 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
>         <kudzu@tenebras.com <mailto:kudzu@tenebras.com>>wrote:
>
>             On Mon, May 20, 2013 at 10:59 PM, s m
>             <sam.gh1986@gmail.com <mailto:sam.gh1986@gmail.com>> 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
>         <mailto: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
>         <mailto: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
>     <mailto: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
>     <mailto:freebsd-questions-unsubscribe@freebsd.org>"
>
>


-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?519B4F11.9030309>