From owner-freebsd-fs@FreeBSD.ORG Wed Nov 28 15:36:13 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 CD90C9DB; Wed, 28 Nov 2012 15:36:13 +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 D44BD8FC0C; Wed, 28 Nov 2012 15:36:12 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so10584989lbb.13 for ; Wed, 28 Nov 2012 07:36:11 -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=1eY/bqDEDbsXmL5Eix8LDAgRB7mq4u8m9yUdEwBr/To=; b=i2lIgzc5IVHZqLFo4GdHJXkyBBZQWVjZhnS2XuC0upXAOtwViNPRZdU0Pdm6UlQFx9 Sx+jhtWwhoEl2141D+csebr7ThmkiIPjxAAO7i5/Dr5dnKlaQTED7rT0uKTUJNSZ28fC MKdow7/VsMSc0ERUqjTXblObygbvfgRcUfYg6W54itDJM5xPWl+EbzBvpyqQ9ka3FpHf +6RUu4zC7Z48Kmc7hKB/JoHRE4O6K01pmD3bHp8tgXd67Zqt7yGTCcHywUN/ke22xyWV mXq4lxzVktHz8EIBY/t4wyfuF9cG37OY4mC7dAowBmQzRoh3KWy4emlYXNnU9Jkqcr8n 9VRw== MIME-Version: 1.0 Received: by 10.152.108.42 with SMTP id hh10mr18390086lab.4.1354116971570; Wed, 28 Nov 2012 07:36:11 -0800 (PST) Received: by 10.112.4.2 with HTTP; Wed, 28 Nov 2012 07:36:11 -0800 (PST) In-Reply-To: <20121128151336.GC17871@dft-labs.eu> References: <20121128104218.GA17871@dft-labs.eu> <20121128151336.GC17871@dft-labs.eu> Date: Wed, 28 Nov 2012 17:36:11 +0200 Message-ID: Subject: Re: NANDFS eats itself up From: Boris Astardzhiev To: Mateusz Guzik Content-Type: multipart/mixed; boundary=bcaec54fb9c61327f904cf8fed4b X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org, gjb@semihalf.com, Grzegorz Bernacki , stanislav_galabov@smartcom.bg 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 15:36:13 -0000 --bcaec54fb9c61327f904cf8fed4b Content-Type: text/plain; charset=ISO-8859-1 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). 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 > --bcaec54fb9c61327f904cf8fed4b--