Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2007 18:12:20 +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:  <20070402161220.GA34180@garage.freebsd.pl>
In-Reply-To: <b37cb0970704020235vf3171f0g8227002607972342@mail.gmail.com>
References:  <b37cb0970703300454l75eae76dyc75c1be5e31f65@mail.gmail.com> <20070330181015.GB11360@garage.freebsd.pl> <b37cb0970704020235vf3171f0g8227002607972342@mail.gmail.com>

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

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote:
> On 3/30/07, Pawel Jakub Dawidek <pjd@freebsd.org> wrote:
> >On Fri, Mar 30, 2007 at 02:54:28PM +0300, Dan Cojocar wrote:
> >> Hello all,
> >>
> >> I noticed this error in my logs:
> >>
> >> GEOM_JOURNAL: [flush] Error while writting data (error=3D1)
> >> ad1s1d[WRITE(offset=3D512, length=3D115200)]
> >> fsync: giving up on dirty
> >> 0xc435910c: tag devfs, type VCHR
> >>    usecount 1, writecount 0, refcount 96 mountedhere 0xc41f9900
> >>    flags ()
> >>    v_object 0xc1048e10 ref 0 pages 2236
> >>     lock type devfs: EXCL (count 1) by thread 0xc3f7d6c0 (pid 27)
> >>        dev ad1s1e.journal
> >> GEOM_JOURNAL: Cannot suspend file system /extra/large (error=3D35).
> >>
> >> This is: FreeBSD 7.0-CURRENT #1: Mon Mar 12 17:55:55 EET 2007
> >
> >Can you paste output of:
> >
> >        # bsdlabel /dev/ad1s1
> >
> >?
> >
>=20
> Here it is:
> bsdlabel /dev/ad1s1
>                                                        12:32:40
> # /dev/ad1s1:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>  c: 234440625        0    unused        0     0         # "raw" part,
> don't edit
>  d: 20971520        0    4.2BSD     2048 16384 28552
>  e: 213469105 20971520    4.2BSD     2048 16384 28552

'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 metadata
is stored.

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

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFGEStkForvXbEpPzQRAifYAJ9fT6lBBazYUDfpSlWKrI1FOBl5xgCgxQsk
2CasTbSf6yR/RF6jOJak3aE=
=Qnd9
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--



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