[Mageia-sysadm] progress of the night

Olivier Thauvin nanardon at nanardon.zarb.org
Thu Nov 25 20:29:53 CET 2010


* Olivier Blin (mageia at blino.org) wrote:
> Olivier Thauvin <nanardon at nanardon.zarb.org> writes:
> 
> > * Olivier Blin (mageia at blino.org) wrote:
> >> Michael Scherer <misc at zarb.org> writes:
> >> Todo:
> >
> > [...]
> >
> >> - setup a cronjob to mirror /distrib/repository to /distrib/mirror
> >>   (when the cauldron repo is cleaned from Mandriva references)
> >
> > Why don't we write directly to the tree given to mirrors ?
> 
> We will likely upload to mirrors asynchronously, not to block the build
> system while syncing mirrors, so we need two separate trees.
> 
> To do this without taking too much time syncing the two trees, we can
> use "cp -al" to make a hardlinked copy of the repository before syncing
> to mirrors.

Check --link-dest options to rsync then (widelly better).

> 
> Also, if the distrib tree on valstar is the canonical location, naming
> it "mirror" is a bit weird :)

Feel free to suggest a better name. "mirror" mean "this tree is sync by
mirrors".

However distributions don't directly into /distrib/mirrors but under
/distrib/mirror/distrib/*. /distrib/mirror will probably contains others
things than just a set of RPMs.

Regards.

> 
> -- 
> Olivier Blin - blino
> _______________________________________________
> Mageia-sysadm mailing list
> Mageia-sysadm at mageia.org
> https://www.mageia.org/mailman/listinfo/mageia-sysadm
-- 

Olivier Thauvin
CNRS  -  LATMOS
♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: </pipermail/mageia-sysadm/attachments/20101125/f87cdd30/attachment.asc>


More information about the Mageia-sysadm mailing list