On Tue, Sep 15, 2009 at 10:08 PM, Matthew Dillon <[email protected]> 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
