Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2011 16:03:22 +0100 (CET)
From:      Yamagi Burmeister <lists@yamagi.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-fs@freebsd.org, mckusick@freebsd.org
Subject:   Re: Snapshots are never freed on at least 8.1 and 8.2
Message-ID:  <alpine.BSF.2.00.1103161559260.3138@saya.home.yamagi.org>
In-Reply-To: <20110316110924.GN78089@deviant.kiev.zoral.com.ua>
References:  <alpine.BSF.2.00.1103160925050.4245@saya.home.yamagi.org> <20110316110924.GN78089@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Mar 2011, Kostik Belousov wrote:

> On Wed, Mar 16, 2011 at 09:27:04AM +0100, Yamagi Burmeister wrote:
>> Hello,
>> I'm not sure if this is a bug or the expected behavior but it seems quit
>> strange. On at least FreeBSD 8.1 and 8.2 UFS2 snapshots are never freed
>> while the filesystem is mounted. Therefor you have to remount every 20
>> snapshots which is quiet a pain when using "dump -L" or similar things
>> via cron.
> ...
>
> Yes, very interesting. It seems that ffs_snapgone() is never called.
> How did our build system mutated over the time so that FFS is no longer
> defined, I do not know and do not much want to track.

The patch is working as espected. I've done a quick test with GENERIC
and one with a seperatly build module. Thanks. :)

-- 
Homepage:     www.yamagi.org
Jabber:       yamagi@yamagi.org
GnuPG/GPG:    0xEFBCCBCB



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