Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2007 09:29:25 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Artem Kuchin <matrix@itlegion.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problems with gjournal or something else.
Message-ID:  <20071101082925.GD13180@garage.freebsd.pl>
In-Reply-To: <004801c81bf0$e7bec7c0$0c00a8c0@Artem>
References:  <00f101c819f7$833d5370$0c00a8c0@Artem> <20071031095213.GG8068@garage.freebsd.pl> <02af01c81bb9$7f7828a0$0c00a8c0@Artem> <20071031183838.GB13180@garage.freebsd.pl> <001b01c81bef$54805790$0c00a8c0@Artem> <20071031185826.GC13180@garage.freebsd.pl> <004801c81bf0$e7bec7c0$0c00a8c0@Artem>

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

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

On Wed, Oct 31, 2007 at 10:04:23PM +0300, Artem Kuchin wrote:
> >>My point here is that since it is and example of configuring a=20
> >>gjournaling onf
> >>existing system then this 'gjournal label da0s1d da0s1e' will always fa=
il.
> >
> >No. It will fail only if your file system is using the last sector. UFS
> >operates on fragments, so if your disk/slice/partition is not
> >fragment-aligned it will work.
>=20
> So, i shoot myself in a foot and got all those error=3D5 because in my ca=
se
> i put journal in the same fs and cut 1GB of data from it, right?
>=20
> >>Of course it says the warning, but basically, condidering that it=20
> >>overwrites
> >>last sector+1 GB of data on existing FS there is actual configuring on
> >>existing FS. It is simply destroying it. =20
>=20
> >The example is using separate provider (da0s1e) for the journal, so it
> >only needs one sector from da0s1d.
>=20
> Ah! i see.
>=20
> What about porper journal size? Any recommendations?

This is quite important to choose it right. I recommend 2GB.

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

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

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

iD8DBQFHKY5lForvXbEpPzQRAnpPAJ4nmTkZccxHht8biTYnQyiSh8jGzwCfbghv
+DWblJERs+FT4mn+Wf4fu2o=
=fzgV
-----END PGP SIGNATURE-----

--nmemrqcdn5VTmUEE--



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