setup journaling for root partition

s m sam.gh1986 at gmail.com
Thu May 23 05:27:53 UTC 2013


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?


On Wed, May 22, 2013 at 10:23 AM, Michael Sierchio <kudzu at tenebras.com>wrote:

>
>
> On Tue, May 21, 2013 at 10:14 PM, s m <sam.gh1986 at gmail.com> wrote:
>
>> thanks guys for your attentions.
>>
>> i want to setup journaling in FreeBSD 8.2. i compare soft-update and
>> journaling and choose journaling (it is more suitable for my goals).
>>
>> i want to enable journaling for all my partitions. i can do it for all
>> partitions except root in single user mode. i can not do it for root
>> because i can not unmount root in single user mode.
>>
>>
> No, but you don't need to.  In single user mode, root is mounted
> read-only.  You can run tunefs on the root fs device.
>
> - M
>


More information about the freebsd-questions mailing list