<div dir="auto">if live dedup is uncommenting the section in the hammer config on each PFS, I've been doing it for years on every system.</div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 15, 2017 11:33 AM, "Tomohiro Kusumi" <<a href="mailto:kusumi.tomohiro@gmail.com">kusumi.tomohiro@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Note that using live dedup on H1 is not recommended (by Matt).<br>
I don't think anyone is really using it too.<br>
<br>
2017-12-15 21:24 GMT+02:00 Zachary Crownover <<a href="mailto:zachary.crownover@gmail.com">zachary.crownover@gmail.com</a>>:<br>
> Also turning on dedup can save space<br>
><br>
> On Dec 15, 2017 10:50 AM, "John R. Shannon" <<a href="mailto:john@johnrshannon.com">john@johnrshannon.com</a>> wrote:<br>
>><br>
>> 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%<br>
>> >> /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%<br>
>> >> /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<br>
>> >> 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<br>
>> > 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<br>
>> > 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>