LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2005, 03:59 PM   #1
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Rep: Reputation: 30
rsync error


what does the error - readlink "//mnt/backup/path to file name" failed: Input/output error mean in the context of an rsync operation
 
Old 04-10-2005, 09:13 PM   #2
njk77
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Rep: Reputation: 0
What was the command you issued to do the rsync? It sounds like you are missing part of the location for where you are getting or putting the files. The command should look something like this:

rsync -vr --delete -e ssh ~/docs/ njk77@192.168.0.104:/home/nathan/docs/

the 1st ~/docs/ is the directory that you are copying FROM.
the 2nd /home/nathan/docs/ is the directory you are copying TO.

the njk77@192.168.0.104: is the location of the system to backup to.

I also happen to be using the ssh option to move files in this example.

Good luck, RSYNC is great!!!
 
Old 04-11-2005, 03:07 AM   #3
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Original Poster
Rep: Reputation: 30
I'm copying from one drive to another on the same machine so the command I use is:

rsync -av / /mnt/backup

but only get the above error on about 10 individual file pathnames, the rest seems to work ok in the few places I've checked.
 
Old 04-11-2005, 03:01 PM   #4
njk77
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Rep: Reputation: 0
It looks like you are copying your root directory. What files aren't working? Maybe they are wierd (ie just simlinks)?
 
Old 04-24-2005, 04:54 PM   #5
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Original Poster
Rep: Reputation: 30
well there doesn't seem to be any rhyme or reason to them

readlink "//mnt/backup/var/cache/samba/browse.dat" failed: Input/output error

is one, and the others are a couple of users excel files!!
 
Old 04-24-2005, 05:12 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
First of all, why are you using rsync when copying to the same machine? Have you tried moving using the mv or cp command? If your trying to preserve ownership of the files, mv by default retains this and cp has options to do this. Use mv if you want to just move, use cp if you want to copy the files to the new location so they will be in two locations.

And if your trying to perform a backup of your whole system, probably best to use tar and gzip to make a backup to move to another destination.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync -e ssh error protocol incompatibility osio Linux - Networking 12 11-21-2012 01:59 PM
error with rsync DJE007 Linux - Networking 3 09-21-2009 12:51 AM
rsync error code 12 nifflerX Linux - General 9 07-14-2009 01:26 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
rsync error AND/OR dump question Sinope Linux - General 4 08-26-2004 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration