Hi,
To save bandwidth, I'm setting up a local repository/mirror from which our CentOS 4 farm will pull its updates. Since we are using only the x86 architecture, I'd also like to save space by not downloading and storing anything that isn't required for the x86 architecture.
Does anyone have any experience or advice on how best to configure rsync to skip the parts of the mirror that aren't necessary for the x86 architecture?
Thanks, Jim Zimmerman
On 4/11/07, Jim Zimmerman jimzim0407@jimzim.us wrote:
Does anyone have any experience or advice on how best to configure rsync to skip the parts of the mirror that aren't necessary for the x86 architecture?
Have a read of the comments at the foot of http://www.centos.org/modules/tinycontent/index.php?id=22 - they might give you some hints.
Jim Zimmerman wrote:
Hi,
To save bandwidth, I'm setting up a local repository/mirror from which our CentOS 4 farm will pull its updates. Since we are using only the x86 architecture, I'd also like to save space by not downloading and storing anything that isn't required for the x86 architecture.
Does anyone have any experience or advice on how best to configure rsync to skip the parts of the mirror that aren't necessary for the x86 architecture?
i did it like this:
rsync -vaH --delay-updates --delete --delete-excluded --exclude="alpha/" --exclude="ia64/" --exclude="s390/" --exclude="s390x/" eu-msync.centos.org::CentOS /store/public/mirrors/centos.org/
first you should get the whole list, without any exclude, and with the "--dry-run" option to rsync, then you go thru the list, and exclude everything you don't need with the --exclude options.
and 'man rsync' :)
and if you want only the 4.4, you can go like this:
eu-msync.centos.org::CentOS/4.4/ /path/to/centos.org/4.4/
Just wondering if there is a date / time set for the bit flip on Centos 5.
- John 'Warthog9' Hawley Kernel.org Admin