rsync 3.0.4 hangs when I increase verbosity

Wayne Davison wayned at samba.org
Sat Dec 27 23:35:31 GMT 2008


On Thu, Dec 18, 2008 at 10:37:43AM -0800, Jonathan Chen wrote:
> rsync --dry-run -aucvvvX --log-file=fly-dryrun.txt /Volumes/airplane/
> /Volumes/plane/flight
> when running the above command, rsync idles with no action.

Apparently this started with 3.0.0.  The sending of the file list can
block with the sender trying to send the file list while the receiver
tries to send the verbose output back to the (client) sender.  I'll need
to work out the right way for the sender to monitor the verbose data
from the sender throughout the file transfer.

In the meantime, you can work around the hang by forcing the client to
be the receiver.  If you put the lsh shell script on the path somewhere
(see the support directory for the script), you can use it to make rsync
"connect" to localhost (really just run a shellscript) for the source
side of the transfer:

rsync [-OPTIONS] -e lsh localhost:/Volumes/airplane/ /Volumes/plane/flight

..wayne..


More information about the rsync mailing list