Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2008 16:03:55 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        srwadleigh <srw@udor.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Gjournal
Message-ID:  <20080105150355.GB6472@garage.freebsd.pl>
In-Reply-To: <20080102114327.62f661f5@udor.net>
References:  <20080102114327.62f661f5@udor.net>

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

--/NkBOFFp2J2Af1nK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 02, 2008 at 11:43:27AM +0900, srwadleigh wrote:
> I am having a strange problem with gjournal on a thinkpad T41,
>=20
> I am running: 7.0-PRERELEASE - Wed Jan 2 06:05:20 JST 2008
> And have the problem with both a custom and generic kernel.
>=20
> If I load gjournal through loader.conf or compile GEOM_JOURNAL into
> the kernel, upon reboot all my slices change, and break booting.
>=20
> ad0s1a becomes ad0a
> ad0s1d becomes ad0d, and so on..
>=20
> If I manually run gjournal load after boot the slices are fine,
> everything works as expected.
>=20
> Here is my journal setup:
>=20
> /dev/ad0s1f.journal 64G /usr/home
>=20
> Geom name: gjournal 2080874044
> ID: 2080874044
> Providers:
> 1. Name: ad0s1f.journal
>    Mediasize: 70812433920 (66G)
>    Sectorsize: 512
>    Mode: r1w1e1
> Consumers:
> 1. Name: ad0s1f
>    Mediasize: 71886176256 (67G)
>    Sectorsize: 512
>    Mode: r1w1e1
>    Jend: 71886175744
>    Jstart: 70812433920
>    Role: Data,Journal
>=20
>=20
> Doing some research on the list I found a similar problem in the past
> with gmirror, where the slice and device ending at the same place was
> being confused. The solution suggested there seemed to be to hardcode
> the provider names into the metadata.
>=20
> http://lists.freebsd.org/pipermail/freebsd-stable/2005-May/014448.html
>=20
> My question is, is this possibly the same issue now with gjournal? and
> is it possible to hardcode provider names after a journal has been
> created?

Just unmount the file system, stop the journal and call 'gjournal label'
with exactly the sam parameters as originally plus '-h' option.

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

--/NkBOFFp2J2Af1nK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHf5xbForvXbEpPzQRAjOQAJ4mAIKqZH30jPMHsVG0wn7uJmXuFQCgiKOO
x0QPhv404/4zklZWzKPL2FU=
=m2f1
-----END PGP SIGNATURE-----

--/NkBOFFp2J2Af1nK--



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