setup journaling for root partition
kudzu at tenebras.com
Thu May 23 06:11:49 UTC 2013
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
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