Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There was an error when attempting to rsync a synced folder #67

Open
LainX84 opened this issue Feb 8, 2022 · 2 comments
Open

There was an error when attempting to rsync a synced folder #67

LainX84 opened this issue Feb 8, 2022 · 2 comments

Comments

@LainX84
Copy link

LainX84 commented Feb 8, 2022

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]`

@jack20170608
Copy link

jack20170608 commented Jun 4, 2022

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"]

@0Downtime
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants