NANDFS eats itself up

Mateusz Guzik mjguzik at gmail.com
Wed Nov 28 10:42:27 UTC 2012


On Wed, Nov 28, 2012 at 09:51:53AM +0200, Boris Astardzhiev wrote:
> Hi,
> 
> I've been playing with the NANDFS implementation in 10.0-CURRENT on a
> SHEEVAPLUG device. So far i've noticed a strange problem having a simple
> test on it. Firstly I have a partition that is 32MBs and it is mounted in
> /mnt (ROOTFS is over NFS).
> 
> I've made an repetitive scp transfer of a 2MB file to the /mnt on the
> sheevaplug. After a delay of 100s the file is rm'ed from /mnt and this is
> repeating for quite awhile now. It seems the FS is eating itself up.
> 

It is unclear from your descripion: do you still scp and rm the file?
If so, it may be just that the cleaner is not able to delete data fast
enough. You can increase vfs.nandfs.cleaner_segments and decrease
vfs.nandfs.cleaner_interval to get more cleaning.

If you are not doing anything on the fs and used space is growing, can
you reproduce that? Preferably on a md based device (just create a file
with dd of the same size and mdconfig -f it).

-- 
Mateusz Guzik <mjguzik gmail.com>


More information about the freebsd-fs mailing list