Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Rep:
rsync error code 12
Hi,
I'm rsyncing between 2 Red Hat raidzone machines and I'm getting the following error:
rsync error: error in rsync protocol data stream (code 12) at main.c(620)
However, this only comes at the end of the syncing and all the files are synced (as far as I can tell). I read somewhere that this might mean the destination drive is too full, but that is not the case as the destination drive has over 100 GB left. Another error is that it says there is an IO error and so deletion won't take place. I was just wondering if anyone knew what these errors mean and if they can be ignored. Thanks. Here is the full command line (run in a cron job):
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
The machine that is running rsync (the source machine) has version version 2.5.7 protocol version 26 while the receiving machines has version version 2.5.5 protocol version 26.
Would this cause the error? Should I update the version on the receiving machine? Thanks so much.
Originally posted by nifflerX The machine that is running rsync (the source machine) has version version 2.5.7 protocol version 26 while the receiving machines has version version 2.5.5 protocol version 26.
Would this cause the error? Should I update the version on the receiving machine? Thanks so much.
-NifflerX
I'd say updating would be a good idea.. they had some recent security vulnerabilities in all versions prior to the latest version.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
Hi,
I did as you suggested and updated both the source and destination machines to rsync version 2.6.3 protocol version 28. Then I ran rsync and I believe it worked. I no longer get the error code 12 error. I do get this error:
rsync error: some files could not be transferred (code 23) at main.c(702)
But I can't find any files that it didn't transfer. Thanks so much for helping me with the other problem. If you know what this new error code is about I'd appreciate hearing about it, but it seems to be working to me. Thanks again!
Glad to know that worked, not sure about the new error. If its copying all the files, nothing really to worry about. I've seen errors with rsync that made no sense to me but yet everything worked. If I come across anything though, I'll be sure to post.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
I think I figured out what the error code 23 means. I've got many symlinks in the data I back up, and some of them are broken links. I think it's because of the broken links that I get this error. When I try the same backup procedure on smaller (broken link free) data set I get no errors. Hope this is useful to someone besides me .
I think I might be having a kinda related problem. how do i tell what version of rsync i'm using on both my servers? i get that same code 23 at main.c(620) error.
Thanks, that worked. Sadly after I posted that I realized i was getting the error syncing between two different arrays in the same system, haha. at least i know how to check it now though!! many thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.