[linux-lvm] Re: [dm-devel] [RFC] Out of order snapshot deletion
blackmagic02881 at gmail.com
Fri Jan 12 18:37:56 UTC 2007
On Thu, 2007-01-11 at 22:19 -0700, Vijai Babu Madhavan wrote:
> I thought I would bring this topic in a separate thread so that
> it can be discussed independently.
> As users start taking a bunch of snapshots and keep them as
> backups, we see the following use pattern when the snapshots
> get recycled.
> Different snapshots have different life cycle. When some one
> decides to keep 'x' snapshots, at the recycle phase, the least
> recent does not necessarily get deleted.
> As users want to keep the daily snapshots for a much longer period
> than the bi-hourly snapshots. In the same way, weekly snapshots
> live longer than daily snapshots.
> I think this is pretty much similar to the way the current backup tapes
> are managed.
> I want to know if this is the kind of use case that users are having or
> the developers are thinking.
> The reason why I am posting this is that this out of snapshot deletion
> scenario, poses some interesting challenges in the design on the solution
> of multiple snapshots that share blocks with each other, as it is a lot easier
> to design a solution where the least recent gets deleted always.
this does not hold true. for snapshot used as backup purpose, you 100%
can not assume the oldest or newest will be delete first. there is no
and possibly, you create one snapshot base on policy and later mount it
and check data consistency. if it turns out to be a bad one, you want to
delete it. then you have no order to follow at all.
ps, any comment on http://sourceware.org/cluster/csnap/? this also try
to solve the current multiple snapshot issues.
> dm-devel mailing list
> dm-devel at redhat.com
More information about the linux-lvm