看板 FB_stable 關於我們 聯絡資訊
--Boundary-00=_23vAMpwjIYfQ7mv Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Am Sonntag 30 Mai 2010 23:53:06 schrieb Kirk Strauser: > On May 29, 2010, at 6:45 PM, Denny Lin wrote: > > How about writing a shell script with this functionality? Get the > > available disk space using: > > $ zfs list -H -o avail tank > > > > And then compare the figures against a limit. Then delete the oldest > > snapshots when the limit is exceeded. > > That's certainly an option, and easy to implement in a shell script. > It just wouldn't work in the case where a bunch of data comes in > between runs of that script, and that's why I wanted something lower- > level. Hello, this is what I use to create daily zfs snapshots. It might provide a base for developing something more sophisticated Regards Christof -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --Boundary-00=_23vAMpwjIYfQ7mv Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --Boundary-00=_23vAMpwjIYfQ7mv--