gjournal error

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Apr 2 16:12:40 UTC 2007


On Mon, Apr 02, 2007 at 12:35:10PM +0300, Dan Cojocar wrote:
> On 3/30/07, Pawel Jakub Dawidek <pjd at 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=1)
> >> ad1s1d[WRITE(offset=512, length=115200)]
> >> 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=35).
> >>
> >> This is: FreeBSD 7.0-CURRENT #1: Mon Mar 12 17:55:55 EET 2007
> >
> >Can you paste output of:
> >
> >        # bsdlabel /dev/ad1s1
> >
> >?
> >
> 
> 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=1) when someone tries to write to first 16 sectors where metadata
is stored.

-- 
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/20070402/dbd7dfc7/attachment.pgp


More information about the freebsd-fs mailing list