View previous topic :: View next topic |
Author |
Message |
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Tue Aug 10, 2004 8:52 pm Post subject: rsync error: "IO error encountered - skipping file dele |
|
|
I'm running my own gentoo mirror and have this error when I rsync the distfiles:
Code: | ...
snapshots/portage-20040807.tar.bz2 is uptodate
snapshots/portage-20040808.tar.bz2 is uptodate
snapshots/portage-20040809.tar.bz2 is uptodate
IO error encountered - skipping file deletion
wrote 176 bytes read 464256 bytes 132694.86 bytes/sec
total size is 42593326278 speedup is 91710.58
rsync error: some files could not be transferred (code 23) at main.c(1048) |
What can be wrong?
My rsync command: Code: | /usr/bin/rsync -vvaH --delete-after --include-from=/root/etc/rsync-gentoo-include --exclude-from=/root/etc/rsync-gentoo-exclude ftp.join.uni-muenster.de::gentoo/ /pub/linux/mirror/gentoo/gentoo/ |
My include|exclude files: Code: |
root@c3po ~/bin# cat /root/etc/rsync-gentoo-exclude
/experimental/*/
/releases/*/
root@c3po ~/bin# cat /root/etc/rsync-gentoo-include
/experimental/x86/
/releases/x86/ |
|
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Tue Aug 10, 2004 9:41 pm Post subject: |
|
|
Do you have releases/historical/ on your local distfiles server? I believe the error is because that file is not readable due to some server work being done. Try deleting that directory from your local mirror and running rsync again. |
|
Back to top |
|
|
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Wed Aug 11, 2004 12:00 pm Post subject: |
|
|
devon wrote: | Do you have releases/historical/ on your local distfiles server? I believe the error is because that file is not readable due to some server work being done. Try deleting that directory from your local mirror and running rsync again. |
I only have this: Code: | root@c3po /pub/linux/mirror/gentoo/gentoo/releases# ls -la
total 2
drwxr-xr-x 3 1001 1001 72 Jul 23 00:27 ./
drwxr-xr-x 7 1001 1001 192 Aug 5 23:07 ../
drwxr-xr-x 5 1001 1001 120 Jul 23 01:27 x86/ | So I can't delete what you are suggesting |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Thu Aug 12, 2004 3:05 am Post subject: |
|
|
Hmm... I used different rsync settings when I was distfiles mirror. Can you try the following?
Code: | /usr/bin/rsync -rlptDq --delete-after .... |
I wonder if it has to with the inherit -o -g flags with the -a flag you are using. |
|
Back to top |
|
|
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Thu Aug 12, 2004 12:45 pm Post subject: |
|
|
devon wrote: | Hmm... I used different rsync settings when I was distfiles mirror. Can you try the following?
Code: | /usr/bin/rsync -rlptDq --delete-after .... |
I wonder if it has to with the inherit -o -g flags with the -a flag you are using. |
I tried using this command based on your input (I removed 'quiet' and added 'verbose x2' just to see whats happening..) Code: | /usr/bin/rsync -rlptDvv --delete-after .... | No Luck.. same error
*edit: typo* |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Thu Aug 12, 2004 1:36 pm Post subject: |
|
|
You may want to hop on #gentoo-mirrors on IRC and see if a mirror admin is online and able to help. |
|
Back to top |
|
|
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Thu Aug 12, 2004 3:24 pm Post subject: |
|
|
devon wrote: | You may want to hop on #gentoo-mirrors on IRC and see if a mirror admin is online and able to help. | Good idea!
Update: At least it sounded like a good idea.. Didn't get much response from #gentoo-mirror, did also try #gentoo.. no luck |
|
Back to top |
|
|
Joffer Guru
Joined: 10 Sep 2002 Posts: 585 Location: Arendal, Norway
|
Posted: Thu Aug 12, 2004 4:40 pm Post subject: |
|
|
devon wrote: | Do you have releases/historical/ on your local distfiles server? I believe the error is because that file is not readable due to some server work being done. Try deleting that directory from your local mirror and running rsync again. |
Another comment on this issue. The /releases/historical/ folder should now be readable. But I have already excluded this directory if you check my config...
This is just a strange problem.. I also have a private mirror of Trusti Secure Linux (rsync) and have no problems with the rsync cmd there, which is the same command as I use with gentoo
Update: Strange.. I've tried at least 4 mirrors before I tried to change again (!) and now it completed without error... rsyncing to ftp.snt.utwente.nl worked.
.. probably just for now.. will check my rsync a bit better in the next week.. |
|
Back to top |
|
|
|