NFS on virtual machine
I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora.
I would like to mount a folder of the host machine on my VM, but never succeeded.
The result of the command "mount 192.168.1.10:/nfs /nfs" is :
mount.nfs: access denied by server while mounting 192.168.1.10:/nfs
And the showmount -e command on the host gives :
Export list for cudak:
Does someone have an idea to solve my pb ?
Why're you using an emulator in the first place? Is the Ubuntu or Fedora machine ARM?
I use a program which is set to work only in a virtual machine.
I solved my pb, it was due to redirection port, since VM and host have the same ip-address.
Launching the VM with qemu-kvm, you have to use the option -redir and redirect both ports 2049 and 111
qemu is an emulator nor a virtulizer, thus only useful if your arch is radically different from your guest OS. Thus I recommend VirtualBox if that's not so.