I'm trying to enable NFSv4 with ZFS.
/etc/rc.conf
But not set
sysctl
/etc/exports
try command
In log
My client show server NFS but not show the folder
I can't understand how to configure the logs and I also don't understand how to configure the acl
/etc/rc.conf
Code:
mountd_flags: -e
mountd_enable=YES
Code:
nfs_server_enable: YES
nfs_server_flags: -e -t -u -n 2
nfsuserd_enable: YES
nfsv4_server_enable: YES
Code:
vfs.nfs.enable_uidtostring = 1
vfs.nfsd.enable_stringtouid = 1
vfs.nfsd.issue_delegations = 1
vfs.nfsd.enable_locallocks = 0
Code:
V4: /
zfs set sharenfs="-alldirs,-maproot=root,-network=192.168.16.0/24" datastore01/shares
In log
Code:
Jan 19 14:01:02 bsd01 mountd[9886]: bad host on, skipping
Jan 19 14:01:02 bsd01 mountd[9886]: network/host conflict
Jan 19 14:01:02 bsd01 mountd[9886]: bad exports list line '/datastore01/shares on -alldirs -maproot'
I can't understand how to configure the logs and I also don't understand how to configure the acl
Last edited by a moderator: