NFS Input/output error Host: Windows10 Guest: generic/ubuntu2204


I have a problem sharing a folder under NFS with vagrant.
The OS of the host machine is windows 10. The OS of the virtual machine is ubuntu220401.
The box used to create the machine is: “generic/ubuntu2204”.

The problem is the following: when I create/edit a file in the shared folder from the host machine and then I try to read the file via the virtual environment, it is corrupted:

vagrant@ubuntu2204:/$ cat host.txt
cat: host.txt: Input/output error

I specify that I created similar installations with the versions ubuntu160401, ubuntu180401 and ubuntu200401
and I had no problem with the folder sharing.

Here is the Vagrant file:

Vagrant.configure("2") do |config|
  # Every Vagrant development environment requires a box. You can search for
  # boxes at = "generic/ubuntu2204"
  # Create a private network, which allows host-only access to the machine
  # using a specific IP. "private_network", ip: ""

  mount_options = %w{rw,async,fsc,nolock,rsize=32768,wsize=32768,hard}
  config.vm.synced_folder ".", "/vagrant",
  type: "nfs",
  nfs_version: 3,
  nfs_udp: false,
  mount_options: mount_options


The versions used for the different tools are the following:
VirtualBox: 6.1.38
Vagrant: 2.3.0
vagrant-bindfs (1.1.9, global)
vagrant-vbguest (0.30.0, global)