[CentOS-mirror] Rsync hangup
Vijay Avarachen
vavarachen at gmail.com
Mon Jan 9 15:57:40 UTC 2006
Hello,
I am having a very strange problem with rsync. If I attempt to ONLY
rsync the updates folder everythign works great. However when I try to add
the os folder for i386, ia64 and x86_64 to rsync (used for kickstart
builds), it just hangs. To cut down on the download time I had copied the
contents of the DVD for all three platforms into the os directory.
# sh updates.cron
receiving file list ...
9761 files to consider
./700 files...
os/
os/i386/
os/i386/CentOS/
os/i386/CentOS/RPMS/
os/i386/CentOS/base/
os/i386/NOTES/
os/i386/headers/
os/i386/images/
os/i386/images/pxeboot/
os/i386/isolinux/
os/i386/repodata/
os/i386/repodata/filelists.xml.gz
os/ia64/
os/ia64/CentOS/
os/ia64/CentOS/RPMS/
98304 5% 19.58kB/s 0:01:23
Here is my script: (update.sh)
#!/bin/sh
export RSYNC_PROXY="proxy.company.com:8080 "
EXCLUSION="/etc/rsync-exclude.list"
RSYNC_HOST="altruistic.lbl.gov"
RSYNC_ROOT="mirrors/centos/4/"
DESTINATION="/home/ftp/pub/Linux/CentOS/4/"
/usr/bin/rsync -aHv --bwlimit=20 --stats --progress
--exclude-from=$EXCLUSION --delete $RSYNC_HOST::$RSYNC_ROOT $DESTINATION
/bin/chown -R vijay.avarachen:spduslisadmins $DESTINATION
Here is my exception list:(/etc/rsync-exclude.list)
#INCLUSIONS
#Only get i386, ia64, x86_64
+ updates/i386**
+ updates/ia64**
+ updates/x86_64**
+ os/i386**
+ os/ia64**
+ os/x86_64**
#EXCLUSIONS
Readme.txt
addons/
apt/
centosplus/
contrib/
csgfs/
docs/
extras/
isos/
testing/
SRPMS/
alpha/
ppc/
s390/
s390x/
Thank you,
Vijay Avarachen
--
"Knowledge is the only wealth that grows as you spend it, and diminishes as
you save it."
-- ancient Sanskrit saying
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos-mirror/attachments/20060109/5d71ce0c/attachment.htm
More information about the CentOS-mirror
mailing list