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.
--
Kirk Strauser
_______________________________________________
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"