Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2007 12:57:05 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Dan Cojocar <dan.cojocar@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: gjournal error
Message-ID:  <20070403105705.GC40062@garage.freebsd.pl>
In-Reply-To: <b37cb0970704030319y684ac0cod297e7f49294a464@mail.gmail.com>
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> <b37cb0970704030319y684ac0cod297e7f49294a464@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--B4IIlcmfBL/1gGOG
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 03, 2007 at 01:19:45PM +0300, Dan Cojocar wrote:
> 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=3D1) when someone tries to write to first 16 sectors where met=
adata
> >> >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)
>=20
> Here I should change the offset to 16 and extract 16 from the size, right?

Yes.

> >        # gjournal label ad1s1e ad1s1d

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--B4IIlcmfBL/1gGOG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGEjMBForvXbEpPzQRAtKaAJ4k2U0qxPJJMK0k1RxB+t6P+TVjMACdEecm
d0S0nSiKlH8WSMNg3WHKsz0=
=7l1n
-----END PGP SIGNATURE-----

--B4IIlcmfBL/1gGOG--



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