ITERATE ENTIRE HISTORY: Unknown error: 0

Siju George sgeorge.ml at gmail.com
Wed Sep 23 21:33:50 PDT 2009


On Tue, Sep 15, 2009 at 10:08 PM, Matthew Dillon
<dillon at apollo.backplane.com> wrote:
>
>    It controls how pruning works.  You basically told it to throw away
>    all history over 1 minute old.  This might or might not be responsible
>    for undo -i reporting virtually no history for the file, depending on
>    when the hammer cleanup maintainance task was last run.
>

Yes It could be the reason. Because I can see the history before hammer cleanup.

>    Normally you set it to something like 'snapshots 1d 60d'.
>
>    With recent kernels you can also tell HAMMER specifically how much
>    fine-grained history you want to retain by setting a PFS config
>    variable.  man hammer and read up on the 'prune-min' PFS config
>    specification.  With this specification you can for example tell
>    the pruner to save snapshots on a daily basis and retain history for
>    60 days but to also retain fine-grained history for e.g. 3 days.
>    Normally any fine-grained history after the first snapshot is deleted
>    by the prune operation.
>

Thanks for that feature I remember you telling to some one that you
will add code for it soon :-)

--Siju





More information about the Users mailing list