Date: Wed, 03 Feb 2021 22:44:19 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 253227] zfs does not respect snapshot_limit (at least for volumes) Message-ID: <bug-253227-3630-jTR94UW8Xj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253227-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-253227-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253227 Alan Somers <asomers@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asomers@FreeBSD.org --- Comment #1 from Alan Somers <asomers@FreeBSD.org> --- I think you're misunderstanding the feature. From the man page "The limit is not enforced if the user is allowed to change the limit." That means that the limit never affects root. It only matters if you've delegated the snapshot permission. Have you? Here's a demonstration: $ sudo zfs create bar/barf $ sudo zfs set snapshot_limit=2 bar/barf $ sudo zfs allow -u somers snapshot bar/barf $ zfs snapshot bar/barf@1 $ zfs snapshot bar/barf@2 $ zfs snapshot bar/barf@3 cannot create snapshot 'bar/barf': out of space $ sudo zfs snapshot bar/barf@3 Notice that even after the limit was exceeded, root was allowed to take another snapshot. -- 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-253227-3630-jTR94UW8Xj>
