<div dir="auto">Also turning on dedup can save space</div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 15, 2017 10:50 AM, "John R. Shannon" <<a href="mailto:john@johnrshannon.com">john@johnrshannon.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you. That got it.<br>
<br>
On 12/15/17 10:49, Tim Darby wrote:<br>
> On Fri, Dec 15, 2017 at 8:24 AM, John R. Shannon <<a href="mailto:john@johnrshannon.com">john@johnrshannon.com</a>><br>
> wrote:<br>
><br>
>> I setup hammer filesystems on identical disk drives. I created a number<br>
>> of PFS that are mirrored. Over time, the storage allocation on the<br>
>> MASTER has remained constant while it continues to grow on the SLAVE as<br>
>> shown in the following:<br>
>><br>
>> MASTER                   5588G  1456G  4132G    26%    /master<br>
>> SLAVE                    5588G  2775G  2813G    50%    /slave<br>
>> /master/pfs/@@-1:00002   5588G  1456G  4132G    26%    /master/backups/dns<br>
>> /master/pfs/@@-1:00001   5588G  1456G  4132G    26%<br>
>> /master/backups/colleen<br>
>> /master/pfs/@@-1:00003   5588G  1456G  4132G    26%<br>
>> /master/backups/domain0<br>
>> /master/pfs/@@-1:00004   5588G  1456G  4132G    26%    /master/backups/imap<br>
>> /master/pfs/@@-1:00005   5588G  1456G  4132G    26%    /master<br>
>><br>
>> ...<br>
>><br>
>> Am I missing a maintenance step that needs to be performed on the slave?<br>
><br>
><br>
> ​By default, the daily periodic script for hammer cleanup only works on<br>
> mounted volumes, so that's why your unmounted slaves are not being cleaned<br>
> up. You can tell it to clean up unmounted volumes by adding this line to<br>
> /etc/periodic.conf:<br>
><br>
> daily_clean_hammer-pfslist="<wbr>path_to_first_unmounted_pfs<br>
> path_to_second_unmounted_pfs etc"<br>
><br>
> The unfortunate side effect of this is that will cause it to stop cleaning<br>
> up mounted PFSes, so I created a separate hammer cleanup script in<br>
> /etc/periodic/daily that cleans up the mounted ones.<br>
><br>
> Tim​<br>
><br>
<br>
--<br>
<br>
John R. Shannon<br>
<a href="mailto:john@johnrshannon.com">john@johnrshannon.com</a><br>
</blockquote></div></div>