[EMAIL PROTECTED] wrote:
Common case to me is, how much would be freed by deleting the snapshots in
order of age from oldest to newest always starting with the oldest.

That would be possible. A given snapshot's "space used by this and all prior snapshots" would be the prev snap's "used+prior" + the next snap's "killed" (as defined in my previous email). I can see that exposing the "killed" value may be useful in some circumstances.

However, I think that the more general question (ie. for arbitrary ranges of snapshots) would be required in many cases. For example, if you had a more complicated snapshot policy, like "keep every monthly snapshot, but delete any others to make space". I imagine that such a policy would be fairly common.

--matt
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to