Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsync error: "IO error encountered - skipping file dele
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Tue Aug 10, 2004 8:52 pm    Post subject: rsync error: "IO error encountered - skipping file dele Reply with quote

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
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Tue Aug 10, 2004 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Wed Aug 11, 2004 12:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Thu Aug 12, 2004 3:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Thu Aug 12, 2004 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Thu Aug 12, 2004 1:36 pm    Post subject: Reply with quote

:( 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
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Thu Aug 12, 2004 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Thu Aug 12, 2004 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum