Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2013 22:42:19 -0700
From:      Michael Sierchio <>
To:        s m <>
Cc:        freebsd-questions <>
Subject:   Re: setup journaling for root partition
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, May 22, 2013 at 10:27 PM, s m <> wrote:

> thanks Michael, but in all documentation about journaling, tunefs is used
> as below: "tunefs -J enable ad3s1X.journal". ad3s1X.journal is created by
> gjournal command: "gjournal label ad3s1a ad3s1g" that assign ad3s1g as
> journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a
> as data provider and ad3s1g as journal provider.
> my problem is, i can not run gjournal command for root partition in fixit
> mode nor single user mode. you mean, i should just use tunefs command on
> ad3s1X (root partition)? if yes, then where journal provider for root
> partition is located? in root partition?
Ah, sorry -  lack of careful reading on my part.  Can you boot from
installation media and use the fixit mode?  This still won't work if the
last sector of the partition is in use by the filesystem....  You'll need a
spare partition of some size to be the journal provider, as in the example.

The very best approach is to create a gjournal and then newfs.  How is your
disk organized?  One big root partition with everything on it?

- M

Want to link to this message? Use this URL: <>