gjournal error

Dan Cojocar dan.cojocar at gmail.com
Tue Apr 3 10:19:48 UTC 2007


On 4/3/07, Pawel Jakub Dawidek <pjd at freebsd.org> wrote:
> On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote:
> > On 4/2/07, Pawel Jakub Dawidek <pjd at 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


More information about the freebsd-fs mailing list