Date: Tue, 01 Jun 2010 09:04:17 -0500 From: Kirk Strauser <kirk@strauser.com> To: Paul Mather <paul@gromit.dlib.vt.edu> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, David Magda <dmagda@ee.ryerson.ca> Subject: Re: Make ZFS auto-destroy snapshots when the out of space? Message-ID: <4C051361.7050308@strauser.com> In-Reply-To: <7B30E5C6-07F9-4B61-9F09-1615D21F6461@gromit.dlib.vt.edu> References: <4C017419.9010909@strauser.com> <4632C12D-2B1E-4073-B2C9-E9D15C212EF1@ee.ryerson.ca> <F5E2E18E-A870-4600-9D4C-D0BE9BF68CF1@strauser.com> <19664824-1B23-4E5F-BC12-BB4D59A9C8AA@ee.ryerson.ca> <7B30E5C6-07F9-4B61-9F09-1615D21F6461@gromit.dlib.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C051361.7050308>