From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 09:04:57 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 95D4716A407 for ; Tue, 3 Apr 2007 09:04:57 +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 3892613C468 for ; Tue, 3 Apr 2007 09:04:56 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id D7D44456B1; Tue, 3 Apr 2007 11:04:55 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id E558345696; Tue, 3 Apr 2007 11:04:50 +0200 (CEST) Date: Tue, 3 Apr 2007 11:04:49 +0200 From: Pawel Jakub Dawidek To: Dan Cojocar Message-ID: <20070403090449.GA40062@garage.freebsd.pl> References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" 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=-5.9 required=3.0 tests=ALL_TRUSTED,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: Tue, 03 Apr 2007 09:04:57 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote: > On 4/2/07, Pawel Jakub Dawidek 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 metada= ta > >is stored. > > >=20 > 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) # 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! --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGEhixForvXbEpPzQRAjYsAKCDsg7Y94v+4rtdxT7T4/zOuchb3gCcDlRs HjhjSsCXc3a+szmM3Z1UJ64= =DBcF -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--