rhcsa8env icon indicating copy to clipboard operation
rhcsa8env copied to clipboard

There was an error when attempting to rsync a synced folder

Open LainX84 opened this issue 3 years ago • 2 comments

Hello,

I'm using Windows 11 and I ran into this issue when I tried vagrant up :

`There was an error when attempting to rsync a synced folder. Please inspect the error message below for more info.

Host path: /cygdrive/d/rhcsa8env/ Guest path: /vagrant Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--chmod=ugo=rwX" "--no-perms" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2200 -o LogLevel=FATAL -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i 'C:/Users/magri/.vagrant.d/boxes/rdbreak-VAGRANTSLASH-rhel8repo/1.1/virtualbox/vagrant_private_key'" "--exclude" ".vagrant/" "--exclude" "*.vdi" "/cygdrive/d/rhcsa8env/" "[email protected]:/vagrant" Error: rsync: write failed on "/vagrant/disk-0-2.vdi": No space left on device (28) rsync error: error in file IO (code 11) at receiver.c(374) [receiver=3.1.3]`

LainX84 avatar Feb 08 '22 17:02 LainX84

Same errors here. The Virtualbox version: 6.1.34 The Vagrant version: 2.2.19

Issus fixed by change the repo.vm.synced_folder from

repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/", rsync__exclude: "*.vdi"

to

repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "disk-0-1.vdi", "disk-0-2.vdi", ".github"]

jack20170608 avatar Jun 04 '22 05:06 jack20170608

Same errors here. The Virtualbox version: 6.1.34 The Vagrant version: 2.2.19

Issus fixed by change the repo.vm.synced_folder from

repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/", rsync__exclude: "*.vdi"

to

repo.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "disk-0-1.vdi", "disk-0-2.vdi", ".github"]

This fixed my issue thanks!

0Downtime avatar Aug 01 '22 03:08 0Downtime