Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2007 11:04:49 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Dan Cojocar <dan.cojocar@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: gjournal error
Message-ID:  <20070403090449.GA40062@garage.freebsd.pl>
In-Reply-To: <b37cb0970704030044p758ddd08s7524a96adfb6c624@mail.gmail.com>
References:  <b37cb0970703300454l75eae76dyc75c1be5e31f65@mail.gmail.com> <20070330181015.GB11360@garage.freebsd.pl> <b37cb0970704020235vf3171f0g8227002607972342@mail.gmail.com> <20070402161220.GA34180@garage.freebsd.pl> <b37cb0970704030044p758ddd08s7524a96adfb6c624@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Apr 03, 2007 at 10:44:11AM +0300, Dan Cojocar wrote:
> On 4/2/07, Pawel Jakub Dawidek <pjd@freebsd.org> 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=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?

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

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGEhixForvXbEpPzQRAjYsAKCDsg7Y94v+4rtdxT7T4/zOuchb3gCcDlRs
HjhjSsCXc3a+szmM3Z1UJ64=
=DBcF
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070403090449.GA40062>