ZFS how to find out if ZIL is currently enabled?

Andriy Gapon avg at FreeBSD.org
Thu Jul 28 12:24:03 UTC 2011


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


More information about the freebsd-fs mailing list