setup journaling for root partition

s m sam.gh1986 at
Sat May 25 05:51:37 UTC 2013

thanks Warren, you're right but i want to set journaling in fixit
mode!!!! in fixit mode none of my partitions are mounted (mount
command show no partition) but geom returns error yet.

is there any way to tell geom that my partitions are unmounted?

On 5/23/13, Warren Block <wblock at> wrote:
> On Thu, 23 May 2013, Torsten Hantzsche wrote:
>> On Thu, 23 May 2013, s m wrote:
>>> thanks,
>>> i do as you said, but after loading gjournal, dd says "operation not
>>> permitted".
>>> gjournal clear says "operation not permitted" too and therefore
>>> "gjournal
>>> label" is not done and say previous error (gjournal cannot clear
>>> metadata
>>> on ad3s1a: operation not permitted). and -v return no extra log.
>>> i don't know why i can not do any thing in fixit mode:(
>>> is this a true procedure? i mean maybe i should do any thing else
>>> because
>>> freebsd handbook set journaling for user partition in single user mode
>>> not
>>> in fixit mode. i test it and it works well, but for root partition i can
>>> not do the same because root partition can not be unmount in single user
>>> mode.
>>> any hints or comments are really appreciated.
>>> thanks in advance
>> Hi,
>> i remember having similar error messages with glabel some years ago.
>> The solution was found in "man 4 geom" in section DIAGNOSTICS:
>> I had to set "kern.geom.debugflags=0x10" to enable the "foot shooting"
>> mode.
>> Maybe this could help you too?
> For certain values of "help". :)
> If geom won't let you write to part of a disk, it's because it thinks
> that part of the disk is already in use, usually by a mounted
> filesystem.  Overwriting part of a filesystem is not guaranteed to lose
> data.  But why take the chance?
> Better to boot from mfsBSD (  Possibly better yet
> to use SUJ, which can be enabled with tunefs with the root partition
> mounted read-only in single user mode.  SUJ has its own problems,
> though.
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list