zfs share nfs not working

lxiosjao

Active Member
Mar 21, 2021
64
1
28
Hi,
I'm trying to use the sharenfs with zfs from my host but I can't mount the shared dataset from my computer.

Host proxmox :
- firewall disabled
- IP : 172.20.30.100
- apt install nfs-kernel-server (service status active : with systemctl status nfs-server.service)
- zfs set sharenfs="no_root_squash,rw=@172.20.30.50" /data/sharenfs (allow the ip of my desktop)
- last version of proxmox

My computer :
- linux mint
- IP : 172.20.30.50
- Command to try to mount the share nfs : mount -t nfs 172.20.30.100:data/sharenfs /media/sharenfs
- result : mount.nfs: access denied by server while mounting (null)


Do I need to configure the /etc/exports file on the host ?
I think using only zfs set sharenfs is enough, no ?

Thanks for your help
 
Last edited: