在Windows上使用rsync与stream浪的CoreOS虚拟机

我正在运行的Windows 8.1专业版,并已经使用cygwin安装rsync,并有一个vagrant vmconfiguration如下(基本映像是coreOS)

config.vm.synced_folder "../sharedFolder", "/vagrant_data", type: "rsync" 

当我执行vagrant reloadvagrant up但是我得到以下错误。 你有什么想法我可以解决这个问题?

 C:\dev\vagrantBoxes\coreOS>vagrant reload ==> default: Attempting graceful shutdown of VM... ==> default: Checking if box 'yungsang/coreos' is up to date... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2222 (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: core default: SSH auth method: private key default: Warning: Connection timeout. Retrying... ==> default: Machine booted and ready! ==> default: Rsyncing folder: /c/dev/vagrantBoxes/sharedFolder/ => /vagrant_data There was an error when attempting to rsync a synced folder. Please inspect the error message below for more info. Host path: /c/dev/vagrantBoxes/sharedFolder/ Guest path: /vagrant_data Command: rsync --verbose --archive --delete -z --copy-links --chmod=ugo=rwX --no-perms --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/d ev/null -i 'C:/Users/aaron.axisa/.vagrant.d/insecure_private_key' --exclude .vagrant/ /c/dev/vagrantBoxes/sharedFolder/ core@127.0.0.1:/vagrant_data Error: Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts. rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(601) [Receiver=3.0.8] rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(759) [sender=3.0.6] 

这个特殊的错误解决了。

我以前安装过rsync的sourceforge版本,我的PATH仍然设置为rsync。 当我配置它使用cygwin版本的错误更改。 我将在另一个问题中发布新的错误,因为它不是同一个问题。

新问题: 25687808