setup journaling for root partition

Michael Sierchio kudzu at
Tue May 21 06:06:19 UTC 2013

On Mon, May 20, 2013 at 10:59 PM, s m <sam.gh1986 at> 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
     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
     erate with the gjournal provider below.

More information about the freebsd-questions mailing list