[Bug 196228] New: [patch] sysutils/zfs-periodic deleting snapshots fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 23 14:10:27 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196228

            Bug ID: 196228
           Summary: [patch] sysutils/zfs-periodic deleting snapshots fails
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: bugzilla.freebsd at omnilan.de
                CC: peter at pean.org
             Flags: maintainer-feedback?(peter at pean.org)
                CC: peter at pean.org

Created attachment 150908
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150908&action=edit
scanning/deleting datasets for old snpahsots instead of pools

If [hourly|daily|weekly|monthly]_zfs_snapshot_skip is set in periodic.conf to
skip only parent dataset, but do snapshots for subsequent datasets
(which would read like this for example:
  hourly_zfs_snapshot_skip="machineSATAHD3x5k9RZ1$
machineSATAHD3x5k9RZ1/netshares$ machineSATAHD3x5k9RZ1.p0/VOLUMES)
deleting old snapshots won't happen because only snapshots for pool
definitiones are scanned, not for datasets of pools.
Attached is a very quick patch which seems to do what I want in one case.
Haven't done any further testings nor really carefully thought about, I just
needed a quick solution.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list