Snapshots ordering on slave and pfs according to freequency for snapshot management

Matthew Dillon dillon at apollo.backplane.com
Mon Apr 26 18:59:28 PDT 2010


:All I need is to figure out how to remove the 5mins snapshots that
:gets mirrored on the slave older than two days with out removing the
:daily snapshots.
:
:But I am a bit confused now since I dont see snapshots actually
:removed after a hammer cleanup.
:I will send the details with a new subject
:
:thanks
:
:--Siju

    hammer cleanup only removes snapshots over X days old.  It can't
    distinguish between fine-grained and coarse-grained snapshots
    that you explicitly tell hammer to make.  You would have to remove
    those yourself (if you want to expire them before the X days)
    using hammer snaprm.

    You can script it fairly easily by setting the comment field for
    each snapshot you take, then filtering out the list based on that.
    See the manual page.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Users mailing list