Snapshots are never freed on at least 8.1 and 8.2

Yamagi Burmeister lists at yamagi.org
Wed Mar 16 15:03:30 UTC 2011


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 at yamagi.org
GnuPG/GPG:    0xEFBCCBCB


More information about the freebsd-fs mailing list