setup journaling for root partition

Torsten Hantzsche t.hantzsche at hzdr.de
Thu May 23 10:40:45 UTC 2013


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?


Torsten


More information about the freebsd-questions mailing list