setup journaling for root partition
sam.gh1986 at gmail.com
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 wonkity.com> wrote:
> On Thu, 23 May 2013, Torsten Hantzsche wrote:
>> On Thu, 23 May 2013, s m wrote:
>>> i do as you said, but after loading gjournal, dd says "operation not
>>> gjournal clear says "operation not permitted" too and therefore
>>> label" is not done and say previous error (gjournal cannot clear
>>> 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
>>> freebsd handbook set journaling for user partition in single user mode
>>> 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
>>> any hints or comments are really appreciated.
>>> thanks in advance
>> 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"
>> 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 (http://mfsbsd.vx.sk/). 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,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions