[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Rsync fails on copying large file



I use Rsync between two of my machines to facilitate regular backups. In the case I have a problem with I am attempting to copy a file using the double colon (::) method to talk to the rsync daemon on the receiving end.

I have been having regular failures of this backup and have traced it down to copying a 60Gb .vdi (Virtual Box virtual disk image). The manual command, and error I received when I just tried it was...


rsync Windows\ 7\ Development\ Environment.vdi owl::alan/backup/"VirtualBox VMs"/"Windows 7 Development Environment"/ rsync: connection unexpectedly closed (2966704 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.8]



Although I says only 2M has been transferred, it took quite a long time to get to this position, although there is an existing image (somewhat older) that has been copied previously, so I am assuming this could be the result of a comparison of changes.

Is there anyway round this problem with extra options etc.

NOTE: This file is sitting on a snapshotted LVM, as I originally thought the failure could have been updates to it whilst it was copying. In the trial above the virtual machine was not running, so I am confident that there were no background changes to the file.




--
Alan Chandler
http://www.chandlerfamily.org.uk


Reply to: