<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small"><span style="font-family:arial">On Sat, Jun 15, 2013 at 11:50 AM, Matthew Dillon </span><span dir="ltr" style="font-family:arial"><<a href="mailto:dillon@apollo.backplane.com" target="_blank">dillon@apollo.backplane.com</a>></span><span style="font-family:arial"> wrote:</span><br>
</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
:> hammer reblock <fs> 90<br>
<div class="im">:><br>
:> Each PFS needs to be independently reblocked.<br>
:><br>
:> -Matt<br>
:><br>
:Thanks, Matt! After doing just the 10% on each PFS, I had recovered enough<br>
:space to get back in operation. I read the man page, but I'm still not<br>
:clear on what exactly the fill percentage does?<br>
<br>
</div> Basically HAMMER1 doesn't keep track of free space on a block-by-block<br>
basis. It keeps track of free space on a segment (~2MB) by segment<br>
basis and iterates through the segment until it fills up. In order<br>
to free space, the segment has to become 100% empty.<br>
<br>
By default the reblocker will reblock out of all storage segments,<br>
which can temporarily require more storage during the run until it<br>
sorts things out. This is desireable for normal operation because<br>
it defragments the disk quite well. But it doesn't work well if the<br>
filesystem is completely full.<br>
<br>
Telling the reblocker to only reblock out of storage segments that<br>
are underutilized has a better chance of clearing those segments<br>
out and freeing them up before the reblocker would otherwise run out<br>
of space. Once things get cleaned up enough there should be enough<br>
free space to run the reblocker in normal mode.<br>
<br>
-Matt<br>
<br>
</blockquote></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif">That makes sense, thanks again!</div><div class="gmail_extra"><div><div><br></div>Tim</div></div></div></div>