[CentOS-mirror] centos mirror disk space requirements

Sydney Bogaert Sydney at igretec.be
Wed Apr 27 07:02:09 UTC 2005

for the sizes (at this time) :
22G for 3.4
15G for 4.0

yum.conf :
simply replace mirror.centos.org/centos with your http server/path
name=CentOS-$releasever - Base

name=CentOS-$releasever - Updates

for the scripts,
it is preferred to use lockfiles, preventing multiple copies running concurrently, and setting bandwidth limits (in KB/s).
Put the script in your crontab, running once a day or more.

as the team wrote :
Unless you are running or intending to run a listed public CentOS mirror
use a mirror listed at http://www.CentOS.org/modules/tinycontent/index.php?id=13

If you intend to populate a mirror for public use please read the
notes at :- http://www.CentOS.org/modules/tinycontent/index.php?id=15

as Shaun wrote (with little modifications):
RSYNC_OPTS="-aHv --delete --bwlimit=512 "
if [ -f "/var/run/mirror.pid" ]; then
   RUNPID=`cat /var/run/mirror.pid`
   if ps -p $RUNPID; then
      echo "Mirror is already running..."
      exit 1
      echo "Mirror pid found but process dead, cleaning up"
      rm -f /var/run/mirror.pid
   echo "No Mirror Process Detected"
echo $$ > /var/run/mirror.pid
echo -n "Mirror Started at "

#CentOS Mirror
$RSYNC $RSYNC_OPTS msync.centos.org::CentOS /path/to/local/mirror/root
echo -n "Mirror Ended at "
rm -f /var/run/mirror.pid
for the archives, look at the bottom of your post, there is an url.
The archives are there.


-----Message d'origine-----
De : centos-mirror-bounces at centos.org
[mailto:centos-mirror-bounces at centos.org]De la part de Jason Boles
Envoyé : mardi 26 avril 2005 22:55
À : centos-mirror at centos.org
Objet : [CentOS-mirror] centos mirror disk space requirements

Hello all,

I'm interested in setting up a mirror, however I couldn't find the
total size of everything (without downloading it).  Could someone
reply with the sizes of the 3.4 and 4.0 subdirectories ?

should be as simple as " find /path/to/mirror/centos -type d -exec du
-shS {} \; "

Also, how can I search the archives of this mailing list ?
(I would like to know preferred cron method for rsync, and howto
configure yum to point to my mirror)

CentOS-mirror mailing list
CentOS-mirror at centos.org

More information about the CentOS-mirror mailing list