Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have checked the log file rsync.hourly.log several times a day to keep track of the backup process. Everything was running well, until yesterday, it started giveing me error messages. Here is the log from the last backup that was done:
Code:
receiving file list ... done
Shared/Accounting/Letters-Memos/
Shared/Accounting/Letters-Memos/Proof of Address letter.doc
Shared/ContactsDB/Database/
Shared/ContactsDB/Database/Contacts.ldb
Shared/ContactsDB/Database/Contacts.mdb
IO error encountered -- skipping file deletion
sent 46080 bytes received 1310028 bytes 14052.93 bytes/sec
total size is 67575835171 speedup is 49830.72
To see if I could get some more info on what was going on, I checked in /var/log/syslog to see if cron was giving me any error messages, but it is not. The backup server is running Ubuntu 6.06, and the files being backed up are on a hard drive shared via samba on a server running Mandriva 2006. If anyone has any idea of what is going on and how to fix it, your help will be appreciated.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Like the original poster, I am having this error when I try to rsync using the --delete option. I get the IO error encountered -- skipping file deletion. Anyone have any idea why we are getting this? I am backing up to an IDE internal hard drive with plenty of room on it.
The bolded parts are what I changed and that fixed the I/O problem. Now it deletes fine. I suspect it either has to do with me trying to carry over the owner,group, and time (-azvgotu) and/or the --ignore-errors option. The users/groups do not exist on the computer I am trying to backup on to. Weird, but it works now.
Just a note to people reading this thread, a lot of times, you will get I/O errors when a file that you are trying to copy disappears sometime between when rsync goes through and sees what is changed and needs to be transferred, and when it actually gets to trying to transfer that file. This can often happen when you are backing up a running system (it often happens with Firefox's Cache when I'm backing up my computer).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.