Cleanup of slave PFSes
Tim Darby
t+dfbsd at timdarby.net
Mon Dec 2 13:20:46 PST 2013
Do you have each backup pfs mounted? By default, hammer cleanup only works
on mounted PFSes, so just having BACKUP mounted is not enough. See 'man
periodic.conf' for info on the daily_clean_hammer_pfslist variable.
Tim
On Mon, Dec 2, 2013 at 1:59 PM, Marco Righele <marco at righele.it> wrote:
> Greetings,
>
> I have trouble understanding how daily cleanup jobs interact with slave
> PFSes being updated with
> hammer mirror-stream.
>
> I have a hammer volume (ROOT) of a size of about 150GB with a number of
> PFSes on it.
> All PFSes are mirrored to another volume (BACKUP) of the same size, to
> slave PFSes with the same name.
> BACKUP is mounted on /backup, so for example /pfs/data is mirrored to
> /backup/pfs/data.
>
> I noticed that while the nightly job runs hammer cleanup just on the PFSes
> on the ROOT volume, not on BACKUP,and in fact the free space on BACKUP
> keeps getting lower.
> Manually running `hammer cleanup` on the slaves recovers only a portion of
> the space, not all. Is there a reason for this behaviour, or is there
> something wrong in my configuration ?
>
> Anyway, how can I enable the cleanup of PFSes other than in the ROOT
> volume ? Is there a reason why this is not done by default ? Just pointers
> to documentation would suffice (I checked hammer(8), but I didn't find
> anything relevant).
>
> Thanks in advance,
> Marco
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20131202/7956043a/attachment-0002.html>
More information about the Users
mailing list