Filesystem question

nans_nans1 at yahoo.de nans_nans1 at yahoo.de
Sat Dec 27 10:50:47 PST 2014


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


--------------------------------------------
Pierre Abbat <phma at leaf.dragonflybsd.org> schrieb am Mo, 22.12.2014:

 Betreff: Re: Filesystem question
 An: users at dragonflybsd.org
 Datum: Montag, 22. Dezember, 2014 00:28 Uhr
 
 On Sunday, December 21,
 2014 06:18:02 nans_nans1 at yahoo.de
 wrote:
 > Many thanks your for your replies.
 > 
 > I already read the
 man-page but i don't understand it at all and i
 didn't
 > found the command
 "hammer prune-everything" on dragonflybsd.org
 > documentation.
 
 See the man page for hammer. It's long.
 prune-everything is somewhere in 
 there.
 
 Don't run hammer
 prune-everything on a filesystem with snapshots. Instead,
 make 
 it snapshot more often. A few months
 ago I had to read my mail on my DF box 
 because my laptop was being repaired. I managed
 to get Kmail working (I had to 
 change what
 database back end Akonadi was using, IIRR) and the process
 of 
 reading all the mail headers filled the
 disk. So I changed the hammer config to
 snapshots 1h 60d
 prune 
    1h 5m
 rebalance 1h 5m
 dedup      1h 5m
 reblock   1h 5m
 recopy    30d 10m
 and ran
 "hammer cleanup" every few hours. That got rid of
 all the tiny files 
 and changes to files
 that the download process was filling the disk with.
 
 Pierre
 -- 
 La sal en el mar es más que en la sangre.
 Le sel dans la mer est plus que dans le
 sang.
 
 
 




More information about the Users mailing list