>>>> "DBA" == Dewangga Bachrul Alam
<dewanggaba(a)xtremenitro.org> writes:
DBA> It's seems like there's never ending rsync transfer (cmiiw). My
DBA> last log using verbose=3 output is :
Well, if you don't have that data locally already, you're going to have
to download about 2.4TB of files:
pubmirror1:/srv/mirror/pub/fedora-buffet❯ du -sk fedora epel
2224437692 fedora
175050724 epel
I should probably enhance the documentation a bit to better cover the
initial download case, or even add an --initial option that doesn't do
anything except run the proper rsync call once.
DBA> file has vanished:
DBA> "/fedora/linux/updates/24/i386/drpms/distribution-gpg-keys-1.4-1.fc24_1.
DBA> 9-1.fc24.noarch.drpm" (in fedora-buffet)
That just means that the repository has changed since you started
downloading. fedora-enchilada is quite active so this is not at all
surprising.
DBA> Nothing changes, but the network transfer still exists through
DBA>
dl{0-4}.fedoraproject.org. Is it normal?
Well, at that verbosity level it's not going to show you regular rsync
output, just the rsync stderr and some extra debug info about what it's
doing. If you look in /tmp/quick-mirror* you should see some
rsync-out-*.log files; tail the most recent one to see things happening.
Or run find -mmin -1 over your repository.
DBA> Then should I break the existing initial run and put it on crontab
DBA> like old mechanism?
It's safe to stop it. Even though rsync is running with --delay-updates
(which normally isn't safe to restart), quick-fedora-mirror will find
that partial download and move it into place because that's better than
endlessly accumulating things .~tmp~ directories.
You can run the script however you like; it doesn't particularly care.
It will only allow itself to be run once but will warn if the lock has
been held for too long. It will produce output which is intended for
the administrator, so if you want to see that a cron job is good. I
recommend verbosity level 1 for that case, which will be silent (and
therefore not generate a cron email) if there's nothing to download and
will otherwise generate timing and show you any errors.
I run it every ten minutes, but that's probably overkill.
- J<