Problem rsyncing 450GB file to my NAS: 'connection unexpectedly closed'

Justin T Pryzby justinp at norchemlab.com
Fri Oct 12 12:06:03 MDT 2012


Not sure, but some ideas:

-P means to retain partial files, and doesn't have anything to do with
/tmp; I wonder if you mean --inplace (not sure)?

It sounds like a daemon may be timing out; is there a timeout
specified in rsyncd.conf?  Is there a remote logfile with any useful
content?

Justin

On Fri, Oct 12, 2012 at 07:29:58PM +0200, rsyncml.frucade at spamgourmet.com wrote:
> Hi list!
> 
> I'm trying to use rsync to do a regular remote backup of a 450GB
> sized container file located on my squeeze server onto a colocated
> QNap NAS device.
> 
> Both use rsync 3.0.7. While this setup works for most files, it
> fails on this large file (see log below).
> 
> I'm already trying to help rsync using "-P" to indicate that rsync
> should reuse the current copy and not trying to create a copy on the
> /tmp parition of the NAS.
> 
> Any hints what might be the problem?
> 
> Thanks
> - Ben
> 
> 
> myhost:~# rsync -avvv  /srv/storage rsync at naspy::Backups -P
> opening tcp connection to naspy port 873
> sending daemon args: --server -vvvlogDtpre.iLsf --partial . Backups/
> sending incremental file list
> [sender] make_file(storage,*,0)
> send_file_list done
> [sender]
> make_file(storage/7N-ZDGtCZq01gFJQEd8eqPuiGbumCWtPoje-4KMVfzIFs1,*,2)
> [sender]
> make_file(storage/PmjyreYXD0Istwvp-8D6PWA5zeZP1DdbboxuS3xGZphQe1,*,2)
> [sender] make_file(storage/JKsb9I8-7dP6cFjao0omRCfj,*,2)
> [sender]
> make_file(storage/O4tK1PXwyelx8Oju,1sC-xfRUYg5cnMrPxeo5FTpE-AEM-,*,2)
> send_files starting
> send_files(3, /srv/encfs-mirrors/storage/7N-ZDGtCZq01gFJQEd8eqPuiGbumCWtPoje-4KMVfzIFs1)
> rsync: connection unexpectedly closed (2545228 bytes received so
> far) [sender]
> rsync error: error in rsync protocol data stream (code 12) at
> io.c(601) [sender=3.0.7]
> [sender] _exit_cleanup(code=12, file=io.c, line=601): about to call exit(12)


More information about the rsync mailing list