Resolution: Apparently NFS doesn't like the "all hosts" subnet of 0.0.0.0/0, I was able to find this out by looking at the journal of the service nfs-mountd which was complaining of "refused mount request from 192.168.1.42 for /export/movies (/export/movies): unmatched host" since it was interpreting 0.0.0.0 as an actual subnet. Silly me.
I'm now trying to get NFS to work so that I can get Kodi working on my Nvidia Shield. I know NFS is a little wonky with ZFS and you have to mount the datasets themselves, and not the root of the pool (for example sharing /mnt/storage, won't make /mnt/storage/movies accessible). So after some momentary confusion in the NFS GUI ("select the device you want, now select the path you want", since my device is my path I figured out I had to put / for the path) I have my share exported, and it's visible, I just can't mount it on my laptop and I can't figure out why. I know the Arch wiki suggests using bind mounts for ZFS, but I never had to do that and I've always just exported the directories/datasets directly and had no issues.
[bran@mediavault ~]$ cat /etc/exports
/export/movies 0.0.0.0/0(fsid=1,rw,subtree_check,insecure,crossmnt)
/export 0.0.0.0/0(ro,fsid=0,root_squash,no_subtree_check,hide)
local mount and bind mounts
[bran@mediavault ~]$ mount|grep movies
storage/movies on /mnt/storage/movies type zfs (rw,noatime,xattr,noacl)
storage/movies on /export/movies type zfs (rw,noatime,xattr,noacl,_netdev)
storage/movies on /sharedfolders/movies type zfs (rw,noatime,xattr,noacl)
The bind mount is clearly accessible on the host
Yet it refuses to mount from my laptop for some reason
[bran@laptop ~]$ showmount -e 192.168.1.7
Export list for server:
/export 0.0.0.0/0
/export/movies 0.0.0.0/0
[bran@laptop ~]$ sudo mount 192.168.1.7:/export/storage /mnt/movies/
mount.nfs: access denied by server while mounting 192.168.1.7:/export/storage
[bran@laptop ~]$ sudo mount 192.168.1.7:/export/storage /mnt/movies -o vers=3
mount.nfs: access denied by server while mounting 192.168.1.7:/export/storage
[bran@laptop ~]$ sudo mount 192.168.1.7:/export/storage /mnt/movies -o nfsvers=3
mount.nfs: access denied by server while mounting 192.168.1.7:/export/storage
[bran@laptop ~]$ sudo mount -o v3 192.168.1.7:/export/storage /mnt/movies
mount.nfs: access denied by server while mounting 192.168.1.7:/export/storage
[bran@laptop ~]$ sudo mount -o vers=3 192.168.1.7:/export/storage /mnt/movies
mount.nfs: access denied by server while mounting 192.168.1.7:/export/storage
[bran@laptop ~]$ sudo mount -o nfsvers=3 192.168.1.7:/export/storage /mnt/movies
mount.nfs: access denied by server while mounting 192.168.1.7:/export/storage
[bran@laptop ~]$ sudo mount -t nfs4 192.168.1.7:/export/storage /mnt/movies
mount.nfs4: access denied by server while mounting 192.168.1.7:/export/storage
Alles anzeigen
There are no errors in dmesg or journalctl on either my laptop or OMV so I'm at a loss currently.