gjournal error

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Apr 3 10:57:14 UTC 2007


On Tue, Apr 03, 2007 at 01:19:45PM +0300, Dan Cojocar wrote:
> 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?

Yes.

> >        # gjournal label ad1s1e ad1s1d

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070403/a672028f/attachment.pgp


More information about the freebsd-fs mailing list