Mirroring Fedora

Thomas Cameron thomas.cameron at camerontech.com
Sat Nov 29 18:56:22 UTC 2008


Howdy -

I mirror Fedora 10 to my home server, and it eats up a *lot* of space. 
It's not a big deal, I've got 500GiB drives in my file server but I'm 
interested in keeping it as small as possible.

Currently I use these commands in a script in cron.daily to mirror:

echo Fedora 10 Updates
echo
rsync -va --exclude=debug --numeric-ids --delete --delete-after \
rsync://mirrors.kernel.org/fedora/updates/10/i386 \
/var/www/html/pub/fedora/updates/10/i386/

echo Fedora 10 Updates
echo
until rsync -va --exclude=debug --numeric-ids --delete --delete-after \
rsync://mirrors.kernel.org/fedora/updates/10/x86_64/ \
/var/www/html/pub/fedora/updates/10/x86_64/

The thing is, F10 is taking up like 50GiB of disk space between the 
install media, Everything and updates.

I know that there are a ton of duplicate files between the i386 and the 
x86_64 directories.  Is there an easy way to do something like hard link 
duplicate files or maybe a better way to rsync so that duplicate files 
are considered?

Thanks!
Thomas




More information about the fedora-list mailing list