From owner-freebsd-fs@FreeBSD.ORG Tue Apr 3 10:57: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 692F816A402 for ; Tue, 3 Apr 2007 10:57:14 +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 053E913C45A for ; Tue, 3 Apr 2007 10:57:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 16A79487F3; Tue, 3 Apr 2007 12:57:12 +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 CD4CE487F7; Tue, 3 Apr 2007 12:57:06 +0200 (CEST) Date: Tue, 3 Apr 2007 12:57:05 +0200 From: Pawel Jakub Dawidek To: Dan Cojocar Message-ID: <20070403105705.GC40062@garage.freebsd.pl> References: <20070330181015.GB11360@garage.freebsd.pl> <20070402161220.GA34180@garage.freebsd.pl> <20070403090449.GA40062@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B4IIlcmfBL/1gGOG" 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 10:57:14 -0000 --B4IIlcmfBL/1gGOG Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 03, 2007 at 01:19:45PM +0300, Dan Cojocar wrote: > On 4/3/07, Pawel Jakub Dawidek wrote: > >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 met= adata > >> >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? > > > >You should be safe by doing: > > > > # umount /extra/large > > # gjournal stop ad1s1e > > # gjournal clear /dev/ad1s1[de] > > # bsdlabel -e /dev/ad1s1 (change the offset) >=20 > Here I should change the offset to 16 and extract 16 from the size, right? Yes. > > # 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! --B4IIlcmfBL/1gGOG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGEjMBForvXbEpPzQRAtKaAJ4k2U0qxPJJMK0k1RxB+t6P+TVjMACdEecm d0S0nSiKlH8WSMNg3WHKsz0= =7l1n -----END PGP SIGNATURE----- --B4IIlcmfBL/1gGOG--