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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to