From owner-freebsd-fs@FreeBSD.ORG Mon Apr 2 16:12:40 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 827B016A403 for ; Mon, 2 Apr 2007 16:12:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id F33C613C46C for ; Mon, 2 Apr 2007 16:12:39 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id CDECA456B1; Mon, 2 Apr 2007 18:12:34 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 33AB645CD9; Mon, 2 Apr 2007 18:12:22 +0200 (CEST) Date: Mon, 2 Apr 2007 18:12:20 +0200 From: Pawel Jakub Dawidek To: Dan Cojocar Message-ID: <20070402161220.GA34180@garage.freebsd.pl> References: <20070330181015.GB11360@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: gjournal error X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 16:12:40 -0000 --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 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--