Hi guys,
I've recently tried creating an NFSv4 share (ticking the appropriate box) from FreeNAS for my Arch Linux machine. For some strange reason, the client indicates that I am being denied by the server:
I double-checked that forward and reverse DNS lookups were working on both ends and then checked
I also checked
I'm not entirely sure this is a FreeNAS issue or if there is something I am missing from Arch Linux (nfs-utils is installed). If anyone has any insight into what may be causing the issue it would be greatly appreciated.
I've recently tried creating an NFSv4 share (ticking the appropriate box) from FreeNAS for my Arch Linux machine. For some strange reason, the client indicates that I am being denied by the server:
sudo mount -vvv -t nfs4 -o sec=sys FreeNAS:/mnt/tank/Private /mnt/Private2
mount.nfs4: timeout set for Thu Jul 27 01:17:15 2017
mount.nfs4: trying text-based options 'sec=sys,vers=4.2,addr=10.0.0.21,clientaddr=10.0.0.40'
mount.nfs4: mount(2): Protocol not supported
mount.nfs4: trying text-based options 'sec=sys,vers=4.1,addr=10.0.0.21,clientaddr=10.0.0.40'
mount.nfs4: mount(2): Permission denied
mount.nfs4: access denied by server while mounting FreeNAS:/mnt/tank/Private
I double-checked that forward and reverse DNS lookups were working on both ends and then checked
/var/log/messages
which produced no entry; it did create an entry if I typed the share path incorrectly though so I know there is some communication between client and server. My next course of action was to ensure that my Arch Linux could see the share: showmount -e FreeNAS
Export list for FreeNAS:
/mnt/tank/Private (everyone)
I also checked
/etc/exports
on FreeNAS to ensure the settings were accurate: root@FreeNAS:~ # cat /etc/exports
V4: / -sec=sys
/mnt/tank/Private -maproot="nobody":"nobody" -sec=sys
I'm not entirely sure this is a FreeNAS issue or if there is something I am missing from Arch Linux (nfs-utils is installed). If anyone has any insight into what may be causing the issue it would be greatly appreciated.