Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2012 16:13:36 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Boris Astardzhiev <boris.astardzhiev@gmail.com>
Cc:        freebsd-fs@freebsd.org, gjb@semihalf.com, Grzegorz Bernacki <gber@freebsd.org>, stanislav_galabov@smartcom.bg
Subject:   Re: NANDFS eats itself up
Message-ID:  <20121128151336.GC17871@dft-labs.eu>
In-Reply-To: <CAP=KkTwdh631nrTScuG6v4rdvk8zJMsOPKosc2-WGa3-aWp4EQ@mail.gmail.com>
References:  <CAP=KkTwX6t=6a_b7osbce5wLXrEEr_ryChAx-G5B24xOQw-q8g@mail.gmail.com> <20121128104218.GA17871@dft-labs.eu> <CAP=KkTwdh631nrTScuG6v4rdvk8zJMsOPKosc2-WGa3-aWp4EQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mjguzik gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121128151336.GC17871>