Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2007 15:42:31 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Craig Boston <craig@xfoil.gank.org>, Dmitry Morozovsky <marck@rinet.ru>, current@FreeBSD.org
Subject:   Re: ZFS on a notebook/512M settings
Message-ID:  <20070726134231.GO12473@garage.freebsd.pl>
In-Reply-To: <20070725222035.GA50522@nowhere>
References:  <20070725234322.G33266@woozle.rinet.ru> <20070725222035.GA50522@nowhere>

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

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

On Wed, Jul 25, 2007 at 05:20:35PM -0500, Craig Boston wrote:
> I've seen recommendations on the BSD lists to use zil_disable to avoid
> low-memory deadlocks (which I've not yet encountered).  I've also seen
> dire warnings on the OpenSolaris lists about possible data corruption if
> you disable the ZIL, so I'm unsure about that one.  For now I'm erring
> on the side of caution and leaving it enabled until it causes me
> problems.

Let me explain what disabling ZIL really means. Once ZIL is disabled,
fsync(2) is a no-op, ie. calling fsync(2) on a descriptor doesn't mean
your data would be safely stored on disk at the time function returns.
There is no data corruption for local use, only this fsync(2) problem.

"Data corruption" can happen from NFS client point of view, when your
ZFS file system is exported over NFS and your NFS server crashes.

You can read more details here:

	http://blogs.sun.com/roch/entry/nfs_and_zfs_a_fine

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

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

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

iD8DBQFGqKTHForvXbEpPzQRApp4AJ9SpyiQrxBuB31crhB87BMV/XaVIQCfRz+p
sgn2MdNnCU4gn+UGZJx+I5Q=
=OMNg
-----END PGP SIGNATURE-----

--FxlYARId5dseejUu--



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