Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2013 23:11:48 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        s m <sam.gh1986@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: setup journaling for root partition
Message-ID:  <CAHu1Y73LLnmmQ0EWWvTBdT-XttsehgaZOctzbAcrs=7X9rc20A@mail.gmail.com>
In-Reply-To: <CAA_1SgEOeyBp=W1=e%2B2SeBn5SEdF4Bb76t9K9jgykGkUvK1oPw@mail.gmail.com>
References:  <CAA_1SgH_RxFUXDj3VyvUN1Kzb6BPkJxFi8y8kjJn9Z=ytne=yw@mail.gmail.com> <CAHu1Y73T786EBowTtneSOqviKnkz7Be6cp2HKasvkqkSfYnHfw@mail.gmail.com> <CAA_1SgEi5eA%2Bc64q-Ui_Gzt=QZ7Lk5KV=mAVP%2BTE_Mk70jERAw@mail.gmail.com> <519B40D8.2090809@ulb.ac.be> <CAA_1SgF677vp7aRsUA376Mj-cuqc2MN2QPPAsbJD_sWZ_Y1wWA@mail.gmail.com> <519B4F11.9030309@ulb.ac.be> <CAN%2BS=WCAHB7_FDHQNAkTsd5qHqRcQ0b6-iT%2BMk0Cw4fMo45pdA@mail.gmail.com> <519B87BC.1010301@qeng-ho.org> <CAHu1Y71s9faAfGpGitQLPZ_9YmR4u%2B_0rPV5d%2BuF1CgKqsOOVQ@mail.gmail.com> <519B9042.5050704@qeng-ho.org> <alpine.BSF.2.00.1305210919560.79332@wonkity.com> <CAHu1Y72UOjt05sPyw%2B=mDA4tjPh2tZM1Z0PtkM7%2BiHfnB0q%2Bsg@mail.gmail.com> <CAA_1SgHp_NXXE8M1fAXvhcVihhxkhhdA75ACk_GHC3WfHJ4G9A@mail.gmail.com> <CAHu1Y72o=BOxCJ9GJzT-kJ06WsGB%2Bi8Q=OCRoRZeDCwny1hxfw@mail.gmail.com> <CAA_1SgHwNJgD=Ubt348WpkKJA9-ek4K4P%2Bz%2BrcfU-NuCiNTQYg@mail.gmail.com> <CAHu1Y73H7W386Yv0CRwPjtA=Uh_KBy-Dmk7%2BGDM2nQOYqBZbsQ@mail.gmail.com> <CAA_1SgEOeyBp=W1=e%2B2SeBn5SEdF4Bb76t9K9jgykGkUvK1oPw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 22, 2013 at 10:53 PM, s m <sam.gh1986@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
> gjournal:
>
> ln -s /dist/lib /lib
> ls -s /dist/boot/kernel /boot/modules
>
> then
> "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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y73LLnmmQ0EWWvTBdT-XttsehgaZOctzbAcrs=7X9rc20A>