ZFS how to find out if ZIL is currently enabled?

Ivan Voras ivoras at freebsd.org
Thu Jul 28 11:32:54 UTC 2011


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.



More information about the freebsd-fs mailing list