On Thu, 2007-01-11 at 22:19 -0700, Vijai Babu Madhavan wrote: > Hi, > > 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. make sense. > > 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 such rule. 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. thanks Ming > > Vijai > > > -- > dm-devel mailing list > dm-devel@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/dm-devel -- http://blackmagic02881.wordpress.com/ -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel