From owner-freebsd-fs@FreeBSD.ORG Thu Jul 28 12:24:03 2011 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 774011065672; Thu, 28 Jul 2011 12:24:03 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7BB238FC0C; Thu, 28 Jul 2011 12:24:02 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA22839; Thu, 28 Jul 2011 15:24:01 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E3154E0.1030206@FreeBSD.org> Date: Thu, 28 Jul 2011 15:24:00 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110705 Thunderbird/5.0 MIME-Version: 1.0 To: Ivan Voras References: In-Reply-To: X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS how to find out if ZIL is currently enabled? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2011 12:24:03 -0000 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