nfs access denied ubuntu VMs.

swordfish291

New Member
Sep 3, 2022
1
0
1
Hello Community

I am running 7.2-3 and new to proxmox. I have two ubuntu VMs running. One running nfs-server and other is the client. My export file looks like this:

Code:
/var/nfs/general    0.0.0.0/0(rw,sync,no_subtree_check)
/home               0.0.0.0/0(rw,sync,no_root_squash,no_subtree_check)

The client however is unable to mount the FS:

Code:
sudo mount 10.10.10.111:/var/nfs/general /nfs/general -v
mount.nfs: timeout set for Sat Sep  3 05:57:59 2022
mount.nfs: trying text-based options 'vers=4.2,addr=10.10.10.111,clientaddr=10.10.10.101'
mount.nfs: mount(2): Permission denied
mount.nfs: trying text-based options 'vers=4,minorversion=1,addr=10.10.10.111,clientaddr=10.10.10.101'
mount.nfs: mount(2): Permission denied
mount.nfs: trying text-based options 'vers=4,addr=10.10.10.111,clientaddr=10.10.10.101'
mount.nfs: mount(2): Permission denied
mount.nfs: trying text-based options 'addr=10.10.10.111'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.10.10.111 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.10.10.111 prog 100005 vers 3 prot UDP port 47626
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.10.10.111:/var/nfs/general

The client can mount the nfs filesystem by itself. I have two network cards in the host. One NIC is for WAN and the other is for LAN. I tried running the VMs on VirtualBox and was able to mount without an issue. Tried different ubuntu version. No luck.

Thanks in advance.