[CentOS] Mirroring CentOS problem. (SOLVED)

Wed Nov 8 08:36:32 UTC 2006
Tony Molloy <tony.molloy at ul.ie>

On Tuesday 07 November 2006 17:47, S.C.A. S.r.l. wrote:
> This is the log output of rsync, but today I try again and it's all ok,
> As you told it's about the deletion of files in the 4.3 tree
> directories.
>
> receiving file list ... rsync: opendir
> "/4.3/os/x86_64/CentOS/RPMS/.~tmp~" (in CentOS) failed: Permission
> denied (13)
> done
> 4.3/os/x86_64/CentOS/RPMS/
> 4.3/os/x86_64/CentOS/RPMS/.~tmp~/
> IO error encountered - skipping file deletion
>

There is a problem with that file on lots of the rsync mirrors. Just 
exclude 4.3 when you are doing your rsync and if you want manually delete 
the 4.3 directory. That's what I did


/usr/bin/rsync --verbose --progress --stats --archive --partial \
   --delete --delete-excluded \
   --exclude 2* \
   --exclude 3* \
   --exclude 4.3/ \
   --port 8873 localhost::pub/centos/ $MIRROR/centos/ \

Tony


> sent 267 bytes  received 374865 bytes  39487.58 bytes/sec
> total size is 6472762072  speedup is 17254.63
> rsync error: some files could not be transferred (code 23) at
> main.c(1146)
>
>
> Thanks for the help.
>
> Best Regards
> Amedeo Fragai
> S.C.A. S.r.l.
>
> Mark Schoonover ha scritto:
> > S.C.A. S.r.l. wrote:
> >> I have two servers that, one time in a week, make a mirror o CentOS
> >> distribution, the mirroring come from two different italian servers
> >> but all the mirrors process stops with this message:
> >>
> >> sent 267 bytes  received 374865 bytes  44133.18 bytes/sec
> >> total size is 6472762072  speedup is 17254.63
> >> rsync error: some files could not be transferred (code 23) at
> >> main.c(1146)
> >>
> >> What's the problem?
> >> Ps excuse me for my english.
> >>
> >> Regards
> >> Amedeo Fragai
> >> S.C.A. S.r.l.
> >
> > Amedeo,
> >
> > 	Don't worry about your English, it's way better than my Italian! :)
> > There are several reasons to get a code 23 error with rsync. One of
> > them being disappearing files. You might have temp files that get
> > into the rsync filelist before rsync transfers files. Once rsync
> > starts transferring the files, and if any of those files are now gone
> > from the filesystem, rsync will generate the code 23 error. Do you
> > log the output from rsync?? That could give you more information as
> > to the exact problem.
> >
> > HTH
> >
> > Thanks!
> >
> > Mark Schoonover
> > IS Manager
> > American Geotechnical
> > V: 858-450-4040 - F: 714-685-3909 - C: 858-472-3816
> >
> > "Stop the Earth!! I want off!!"
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 


Tony Molloy.

System Manager.
Dept. of Comp. Sci.
University of Limerick