setup journaling for root partition
sam.gh1986 at gmail.com
Thu May 23 06:36:52 UTC 2013
i do as you said, but after loading gjournal, dd says "operation not
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
any hints or comments are really appreciated.
thanks in advance
On Thu, May 23, 2013 at 10:41 AM, Michael Sierchio <kudzu at tenebras.com>wrote:
> On Wed, May 22, 2013 at 10:53 PM, s m <sam.gh1986 at gmail.com> wrote:
>> thanks Michael for your quick reply:)
>> yes, i can boot from usb freebsd flash and use fixit mode.
>> i have root, var, tmp, usr and swap on my system. i create an extra swap
>> partition to use it as journal provider for root partition.
>> in fixit mode, first i run two below command in order to abel load
>> ln -s /dist/lib /lib
>> ls -s /dist/boot/kernel /boot/modules
>> "gjournal load"
>> and after that: "gjournal label -f ad3s1a ad3s1g" (ad3s1a is root
>> partition and ad3s1g is swap partition for journal provider)
>> but this error is shown:
>> "gjournal cannot clear metadata on ad3s1a: operation not permitted"
>> what is wrong here??? i really don't know how to fix it:((((
> Try using -v to get more verbose output. I am at a loss here, too.
> Perhaps you can try
> gjournal load
> dd if=/dev/zero of=/dev/ad3s1g bs=1m
> gjournal clear -v ad3s1a
> gjournal label -vf ad3s1a ad3s1g
> and see what it says, if anything.
More information about the freebsd-questions