<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>    I'm preping a new backend for our mirror host, and just found
      that centos mirror could use a little help from hardlinking. 
      After running `hardlink -cvvn` on our copy of centos repo, I got
      these results:</p>
    <blockquote>
      <p><b><tt>Directories 774</tt></b><b><tt><br>
          </tt></b><b><tt>Objects 220535</tt></b><b><tt><br>
          </tt></b><b><tt>IFREG 219740</tt></b><b><tt><br>
          </tt></b><b><tt>Comparisons 4839</tt></b><b><tt><br>
          </tt></b><b><tt>Would link 903</tt></b><b><tt><br>
          </tt></b><b><tt>Would save 2951557120</tt></b><br>
      </p>
    </blockquote>
    <p>    This means that 903 files are exactly equal (ignoring
      metadata, like date, perms, etc), meaning that more than 2.9GB
      could be saved.  Hardly much in a 207GB repo, but a save anyway. 
      Also, this means that local file system cache would be optmized.</p>
    <p>    Problem is, everytime I resync my mirror, these hardlinks are
      lost.  So the hardlink shall be done in the master repo.</p>
    <p>    Is there anything that I'm not seeing that prevents this
      optimization?</p>
    <p><br>
    </p>
    <div class="moz-signature">    Regards,<br>
      <br>
              Jonny<br>
      <br clear="all">
      <div style="ignore-me" --="">
        <div
style="margin:0px;color:rgba(0,0,0,0.87);font-family:Helvetica,Arial,sans-serif;font-size:14px;letter-spacing:normal"><br>
          <table
            style="margin:0px;border-collapse:collapse;vertical-align:top"
            cellspacing="0" cellpadding="0" border="0">
            <tbody>
              <tr>
                <td colspan="2">
                  <hr></td>
              </tr>
              <tr>
                <td style="padding:8px" valign="middle"> <img
src="https://s3.glbimg.com/v1/AUTH_0601abe00ef04d20a8b20254df29a44e/assinatura/Globocom.png"
                    alt="globo.com" title="Globo.com" width="56"
                    height="56"> </td>
                <td>
                  <table cellspacing="0" cellpadding="0" border="0">
                    <tbody>
                      <tr>
                        <td style="color:rgb(17,17,17);font-family:"
                          helvetica=""
                          neue",helvetica,arial,sans-serif;line-height:24px"="">
                          <b>João Carlos Mendes Luís</b> </td>
                      </tr>
                      <tr>
                        <td style="color:rgb(85,85,85);font-family:"
                          helvetica=""
                          neue",helvetica,arial,sans-serif;font-size:12px;line-height:16px"="">
                          <b>Senior DevOps Engineer</b> </td>
                      </tr>
                      <tr>
                        <td
                          style="padding-top:8px;color:rgb(85,85,85);font-family:"
                          helvetica=""
                          neue",helvetica,arial,sans-serif;font-size:12px;line-height:16px"="">
                          <div
                            style="line-height:20px;font-size:14px;letter-spacing:0px;margin:0px">
                            <a href="mailto:jonny@corp.globo.com">jonny@corp.globo.com</a><br>
                            +55-21-2483-6893<br>
                            +55-21-99218-1222<br>
                          </div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
        <p><br>
        </p>
      </div>
    </div>
  </body>
</html>