On 05/31/10 08:48, Paul Mather wrote:
Devd already receives several ZFS-based events (failed vdev, I/O error, checksum mismatch, etc.), so perhaps it would be useful to add another, e.g., "space" which is set to be triggered when a pool attains a certain percentage full. This could default to 100%, but be capable of being set lower by an associated kernel sysctl. You could then have any auto-pruning/snapshot management script triggered from devd. (You'd probably also have to figure out some kind of throttling mechanism for this devd event, too.)

I think that's probably the best alternative. Again, I could see that being used for a lot of things. It would be a nice general solution that wouldn't touch any (or very little) non-FreeBSD code.

--
Kirk Strauser

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to