winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
567 stars 62 forks source link

mount.nfs: multiple version options not permitted #145

Open JamesHarley opened 5 months ago

JamesHarley commented 5 months ago

Getting the following error

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o vers=3,vers=3,nolock 192.168.49.1:/G/wp_plugin /var/www/html/website/wp-content/plugins/wp_plugin

with config.vm.synced_folder "G:/wp_plugin", "/var/www/html/website/wp-content/plugins/wp_plugin", type: "nfs"

Any ideas what's causing this? I tried updating everything (Vagrant / VirtualBox and plugins). I can mount manually in rocky linux but it won't function correctly with wordpress. IE the files can't be opened.

bookgh commented 3 months ago
  machine.vm.synced_folder ".", "/Vagrantfiles", type: "nfs", create:true, nfs_udp: false, mount_options: ['rw,async,fsc,nolock,tcp,hard']