rdbreak / rhcsa8env

This is a RHCSA8 study environment built with Vagrant/Ansible
https://join.slack.com/t/redhat-certs/shared_invite/zt-7ju3rz7b-_G3Njp3PDwdBG_81SwPeLA
MIT License
295 stars 177 forks source link

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

Open LainX84 opened 2 years ago

LainX84 commented 2 years ago

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/" "vagrant@127.0.0.1:/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 commented 2 years ago

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 commented 2 years ago

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!