Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 15:24:00 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Ivan Voras <ivoras@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: ZFS how to find out if ZIL is currently enabled?
Message-ID:  <4E3154E0.1030206@FreeBSD.org>
In-Reply-To: <j0rhcq$78q$1@dough.gmane.org>
References:  <j0rhcq$78q$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 28/07/2011 14:32 Ivan Voras said the following:
> Grepping for "zil" in sysctls doesn't give anything useful:
> 
> # sysctl -a | grep zil
> vfs.zfs.zil_replay_disable: 0
> 
> (its description is "Disable intent logging replay" so it looks like a
> crash recovery option)
> 
> ... so is there a way to find out if ZIL is enabled?
> 
> I can look at kenv but for some reason I can't trust its value right now.

Here is a hammer: kgdb.
But perhaps there is a more suitable tool :)

-- 
Andriy Gapon



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