Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2007 13:19:45 +0300
From:      "Dan Cojocar" <dan.cojocar@gmail.com>
To:        "Pawel Jakub Dawidek" <pjd@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: gjournal error
Message-ID:  <b37cb0970704030319y684ac0cod297e7f49294a464@mail.gmail.com>
In-Reply-To: <20070403090449.GA40062@garage.freebsd.pl>
References:  <b37cb0970703300454l75eae76dyc75c1be5e31f65@mail.gmail.com> <20070330181015.GB11360@garage.freebsd.pl> <b37cb0970704020235vf3171f0g8227002607972342@mail.gmail.com> <20070402161220.GA34180@garage.freebsd.pl> <b37cb0970704030044p758ddd08s7524a96adfb6c624@mail.gmail.com> <20070403090449.GA40062@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/3/07, Pawel Jakub Dawidek <pjd@freebsd.org> wrote:
> On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote:
> > On 4/2/07, Pawel Jakub Dawidek <pjd@freebsd.org> wrote:
> > >On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote:
> > >'d' partition is wrong, it should start at offset 16. You get EPERM
> > >(error=1) when someone tries to write to first 16 sectors where metadata
> > >is stored.
> > >
> >
> > If I will move the offset of d to 16, it will fix this problem?, or do
> > I need to recreate the whole partition table?
>
> You should be safe by doing:
>
>         # umount /extra/large
>         # gjournal stop ad1s1e
>         # gjournal clear /dev/ad1s1[de]
>         # bsdlabel -e /dev/ad1s1 (change the offset)

Here I should change the offset to 16 and extract 16 from the size, right?

>         # gjournal label ad1s1e ad1s1d
>
Thanks,
Dan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b37cb0970704030319y684ac0cod297e7f49294a464>