On Wed, 21 Aug 2019 at 19:26, João Carlos Mendes Luís <jonny at corp.globo.com> wrote: > Hi, > > 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: > > *Directories 774* > *Objects 220535* > *IFREG 219740* > *Comparisons 4839* > *Would link 903* > *Would save 2951557120* > > 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. > > It might be but it also depends on what the files are. Could you give exactly what files are doing this.. it may be that the other data is very important for some reason and a hardlink won't be possible. > Problem is, everytime I resync my mirror, these hardlinks are lost. > So the hardlink shall be done in the master repo. > > Is there anything that I'm not seeing that prevents this optimization? > > > Regards, > > Jonny > > > ------------------------------ > [image: globo.com] > *João Carlos Mendes Luís* > *Senior DevOps Engineer* > > jonny at corp.globo.com > +55-21-2483-6893 > +55-21-99218-1222 > > > _______________________________________________ > CentOS-mirror mailing list > CentOS-mirror at centos.org > https://lists.centos.org/mailman/listinfo/centos-mirror > -- Stephen J Smoogen. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20190821/37c2efcb/attachment-0006.html>