From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 07:44:14 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 1A09B16A401 for ; Tue, 3 Apr 2007 07:44:14 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id C7EE713C46C for ; Tue, 3 Apr 2007 07:44:11 +0000 (UTC) (envelope-from dan.cojocar@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1587424ana for ; Tue, 03 Apr 2007 00:44:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p0niJnQFowN6iUIZyUAD0C0I9eKhVucgD74jTWCjYCacderuuiv17jZpdCV1JGdfRN+x8tWV+nzvTJOe/jXhW6ZLnSvRxGMb68iuQ2Wmzye6SigHudrs0Fc7rzVcEdo4DoJoVndkeyEbUKzAn/CcgYoG5AfrAVmBsLbig8ptvRM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tLlScR0iGczO3mFhui0+YbyOnWNLtHCCinZLqF1T0mPAlMRthQrZnLrVA8pWP8IPkcuXK3FFAdyT6GmQkQDkFEiICTywVkIWnYGitWaSPyEcEs1dUQns49s30MhkipS96Au4YoCFbSXK1zCTwLG0Iy6HP3gnD8bi1DHl3nCdJzs= Received: by 10.100.168.13 with SMTP id q13mr4116115ane.1175586251274; Tue, 03 Apr 2007 00:44:11 -0700 (PDT) Received: by 10.100.57.12 with HTTP; Tue, 3 Apr 2007 00:44:11 -0700 (PDT) Message-ID: Date: Tue, 3 Apr 2007 10:44:11 +0300 From: "Dan Cojocar" To: "Pawel Jakub Dawidek" In-Reply-To: <20070402161220.GA34180@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> 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: Tue, 03 Apr 2007 07:44:14 -0000 On 4/2/07, Pawel Jakub Dawidek wrote: > 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=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. > 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? Thanks, Dan