From owner-freebsd-fs@FreeBSD.ORG Wed Nov 28 21:47:18 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52B44222; Wed, 28 Nov 2012 21:47:18 +0000 (UTC) (envelope-from boris.astardzhiev@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3928FC12; Wed, 28 Nov 2012 21:47:17 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so10980429lbb.13 for ; Wed, 28 Nov 2012 13:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m6rcuq+Xk71YeakYF7dmdb/mAcsfmTmRoqyye6hq9YM=; b=VuG0c/fESrMrvc8Y/M9fnhJbhp0NvpJvrT9AWYCmIITQMlvjU//2SacPxiXppe2RM0 PKj9rgkQlqB7owFanV5WK0/3Uhcd8XgSwtUilEdVWPsKS0QELL5rMFhXhtNQHhqM066g TiqvwRyLYO1gcLrpx4Kq1E3Qo/qm+5eVsZlmtqLxSepl1Grd9pSTmkNUBiF0NnMT/mS4 kGkh3rFeWyFLzSQcM/ZjFCVriGB1xPhchP6Es4w2ch+fEs9MFqVrCodH08jnF16t0vpu 2q4WQ9u5W+Ekn8NNG8OjSZN+AXG6yt63N3qMq5Gfidb4wW9+hgC/CcK/DtXvNYt4Mj8N h+xw== MIME-Version: 1.0 Received: by 10.112.103.135 with SMTP id fw7mr3929840lbb.17.1354139235928; Wed, 28 Nov 2012 13:47:15 -0800 (PST) Received: by 10.112.4.2 with HTTP; Wed, 28 Nov 2012 13:47:15 -0800 (PST) In-Reply-To: References: <20121128104218.GA17871@dft-labs.eu> <20121128151336.GC17871@dft-labs.eu> Date: Wed, 28 Nov 2012 23:47:15 +0200 Message-ID: Subject: Re: NANDFS eats itself up From: Boris Astardzhiev To: Ronald Klop Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org, gjb@semihalf.com, stanislav_galabov@smartcom.bg, Grzegorz Bernacki X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2012 21:47:18 -0000 Sorry for that, I haven't noticed it. I hope that this will do. The attachment - http://justpaste.it/1kk5 On Wed, Nov 28, 2012 at 11:06 PM, Ronald Klop wrote: > On Wed, 28 Nov 2012 16:36:11 +0100, Boris Astardzhiev < > boris.astardzhiev@gmail.com> wrote: > > If I do that I might be unable to set back the verbose level to 0 since >> the >> output is very very NOISY. This means that I will have to start again from >> the beginning if I need to reproduce it. Nevertheless here you go. Check >> the attachment (OUTPUTNAND.txt.bz2). >> > > Your attachment is stripped by the mailinglist. > > Ronald. > > > > On Wed, Nov 28, 2012 at 5:13 PM, Mateusz Guzik wrote: >> >> On Wed, Nov 28, 2012 at 05:06:12PM +0200, Boris Astardzhiev wrote: >>> > Yes, I do. I've made this to repeat via a script. The interval between >>> each >>> > SCP transfer is 100s. I thought it would give just enough time to the >>> fs >>> > for reclaiming its space back. >>> > >>> > Now I stopped the transfers and doubled the vfs.nandfs.cleaner_segments >>> to >>> > 10. The fs has no files in it but it reports "~9.6MB" of used space. 4+ >>> > hours later it has NOT changed at all it still reports "~9.6MB" Used. >>> > >>> >>> Now this indeed sounds like a bug. Can you enable debug like this: >>> # sysctl vfs.nandfs.verbose=0xffffffff >>> >>> The kernel will start printing a lot of debugging information. With >>> default configuration of syslog this will end up in /var/log/messages. >>> Capture something like 30 seconds of output and post it somewhere. >>> >>> -- >>> Mateusz Guzik >>> >>