there is a nfs server on 192.168.121.1 ? can you mount on the guest manually 192.168.121.1:/root/hlinux- tools/netinst-iso ?
alvaro On Tue, May 5, 2020 at 4:24 PM Ibrahim Vanak <contact.ibbu2...@gmail.com> wrote: > The issue is, while running “vagrant up” I am trying to do NFS mount from > host to Vagrant VM. It’s failing to do so with the following error: > > ==> default: Mounting NFS shared folders... > > The following SSH command responded with a non-zero exit status. > > Vagrant assumes that this means the command failed! > > > > mount -o vers=4 192.168.121.1:/root/hlinux-tools/netinst-iso /vagrant > > > > Stdout from the command: > > > > > > > > Stderr from the command: > > > > mount.nfs: access denied by server while mounting 192.168.121.1: > /root/hlinux-tools/netinst-iso > > > My host VM is unbuntu 18.04 and vagrant VM would be debian Jessie. > > > Snippet of NFS sharing code from Vagrant file: > > > * config.vm.synced_folder "./vagrantfolder", "/home/vagrant/output",* > > * nfs: true,* > > * linux__nfs_options: ['rw','no_subtree_check','all_squash','async']* > > > > * config.vm.synced_folder "./vagrantfolder/repo", > "/var/www/hLinuxArchive",* > > * nfs: true,* > > * linux__nfs_options: ['rw','no_subtree_check','all_squash','async']* > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vagrant-up+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/1de9e302-83d1-4324-b1a8-373123fb3efe%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/1de9e302-83d1-4324-b1a8-373123fb3efe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezdAyu%2Bt5YQU%3DYUAJkb6h3EB62CoBTTLfCFOF9tTuO4Zw%40mail.gmail.com.