Date: Tue, 23 Dec 2014 14:10:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 196228] New: [patch] sysutils/zfs-periodic deleting snapshots fails Message-ID: <bug-196228-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: bugzilla.freebsd@omnilan.de CC: peter@pean.org Flags: maintainer-feedback?(peter@pean.org) CC: peter@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@FreeBSD.org> --- Maintainer CC'd -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196228-13>