LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-29-2009, 03:59 PM   #1
Osiris990
Member
 
Registered: Oct 2005
Location: Dallas, TX
Distribution: Slackware 12
Posts: 49

Rep: Reputation: 15
Rsync Tossing Errors


I'm trying to setup an off-site backup server using rsync to sync up incremental backups. Development was going fine until a couple hours ago when I attempted to sync a single, unaltered file against the remote copy. (~13 GB) The program is now dumping the following error and failing to sync when I try to sync that file:
Quote:
[nia@NIA-BDR001 SBS]$ ./test.sh
Wed Jul 29 15:39:18 CDT 2009
Rsync initiated.

Password:
Backup.bkf
rsync: writefd_unbuffered failed to write 1 bytes [sender]: Broken pipe (32)
rsync error: timeout in data send/receive (code 30) at io.c(171) [receiver=2.6.8]
rsync: connection unexpectedly closed (100 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [generator=2.6.8]
rsync: connection unexpectedly closed (956202 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [sender=2.6.8]
Wed Jul 29 15:51:26 CDT 2009
[nia@NIA-BDR001 SBS]$
For those curious, test.sh contains the following script:
Quote:
#!/bin/bash
date
rsync --verbose -z Backup.bkf nia@IP.AD.DR.ESS::nia
date
It doesn't do it for any other files, and when I deleted and rsync'd the file again, it went fine. It only throws this error when I attempt to sync that one file.

Any ideas what's going on?
 
Old 07-30-2009, 08:53 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
What if you try without the -z option? I suspect it is a problem with file compression, rather than with the transfer process.
 
Old 08-03-2009, 09:10 AM   #3
Osiris990
Member
 
Registered: Oct 2005
Location: Dallas, TX
Distribution: Slackware 12
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by colucix View Post
What if you try without the -z option? I suspect it is a problem with file compression, rather than with the transfer process.
Good thinking, that was the culprit. Why was that causing the problem, though? That doesn't really make any sense to me, considering how the algorithm works. (or at least my understanding of the algorithm, which might be flawed)
 
  


Reply



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
disk errors using rsync byhisdeeds Linux - Software 1 03-14-2009 02:54 PM
rsync gives chgrp failed errors jjge Linux - Software 5 09-29-2008 03:23 PM
Rsync Errors version 2.6.9 petertm1307 Linux - Networking 3 09-04-2007 12:01 PM
3 rsync errors at once sunethj Linux - Software 4 04-10-2007 11:18 PM
Rsync Errors during backups shawnbishop Linux - Software 4 05-18-2006 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:27 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
Open Source Consulting | Domain Registration