Filesystem question

Pierre Abbat phma at leaf.dragonflybsd.org
Sat Dec 27 11:13:49 PST 2014


On Saturday, December 27, 2014 18:50:47 nans_nans1 at yahoo.de wrote:
> ok.
> So i made the following configuration. Is this the right way?
> 
> hammer viconfig
> 
> snapshots 1h 60d
> prune     1h 5m
> rebalance 1h 5m
> dedup      1h 5m
> reblock   1h 5m
> recopy    30d 10m
> 
> crontab -e
> 0 * * * * /sbin/hammer cleanup

You shouldn't need to run hammer cleanup from cron every hour. I ran it 
manually while downloading the mail headers. This deletes ephemeral changes 
between snapshots; if a sector of a file changes five times between snapshots, 
only the last is kept.

If you have deleted a big file, it will stay on disk until the snapshots 
expire, which is 60 days in this example. To make it disappear faster, reduce 
the number 60.

Pierre
-- 
Don't buy a French car in Holland. It may be a citroen.



More information about the Users mailing list