NFS access denied on some hosts

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Jon Massey

Active Member
Nov 11, 2015
339
82
28
37
Fresh FreeBSD install as Proxmox VM à la STH AIO guide.
Having some issues with by "Backups" NFS export: configured through GUI with "192.168.0.0/24" as "authorized network", resulting in below showmount

Code:
% showmount -e
Exports list on localhost:
/mnt/SATACAPACITY/VMSLOW           192.168.0.117
/mnt/SASBIG/MEDIA                  192.168.0.205 192.168.0.200
/mnt/SASBIG/BACKUPS                192.168.0.0
successfully mounted on 192.168.0.117 (proxmox host) and .205 (ubuntu server) and even a Win10 laptop but when trying to mount on 192.168.0.208 (lxc container on proxmox host) i get:
Code:
root@kitekat:/mnt# mount 192.168.0.120:/mnt/SASBIG/BACKUPS /mnt/Backups
mount.nfs: access denied by server while mounting 192.168.0.120:/mnt/SASBIG/BACKUPS
I even tried forcing NFSv3 and that didn't help
Code:
root@kitekat:/mnt# mount -o nfsvers=3 192.168.0.120:/mnt/SASBIG/BACKUPS /mnt/Backups
mount.nfs: access denied by server while mounting 192.168.0.120:/mnt/SASBIG/BACKUPS
Nothing appears in /var/log/messages on the FreeNAS host. No firewall enabled on the LXC host side, ufw is inactive in container.

Any clues on how to debug this further? Not sure if it's an LXC issue or a nfsd issue. How can I turn on more verbose logging for nfs in FreeNAS?
 

Jon Massey

Active Member
Nov 11, 2015
339
82
28
37
I actually found the better way to do this is to bind the mount on the proxmox host in the container, which is working great.