You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I have a permission denied problem when I try to mount the share from one allowed node (in this case, 192.168.1.141/32). I don't know why or when this happens (I mean what is the issue's trigger), but I think that is caused by ZoL because the problem is solved only when I set the nfsshare property to off and then to rw=@192.168.1.141/32,insecure.
The NFS server is m01 (192.168.1.113)
The NFS client is servicos (192.168.1.141)
BEFORE RESET nfsshare option
# SERVER
root@m01:~# zfs get sharenfs datastore/moodle_quarentena_videos
NAME PROPERTY VALUE SOURCE
datastore/moodle_quarentena_videos sharenfs rw=@192.168.1.141/32,insecure local
root@m01:~# cat /etc/dfs/sharetab
/var/moodle_quarentena_videos - nfs rw=@192.168.1.141/32,insecure
#CLIENT
root@servicos:~# grep moodle /etc/fstab
192.168.1.113:/var/moodle_quarentena_videos /var/moodle_quarentena_videos nfs
root@servicos:~# mount -a -v
mount: proc already mounted on /proc
mount: UUID=f8a6cca1-cdf5-401b-babc-e1a218a24d6f already mounted on /boot
mount.nfs4: timeout setfor Thu Jul 30 07:04:12 2015
mount.nfs4: trying text-based options 'addr=192.168.1.113,clientaddr=192.168.1.141'
mount.nfs4: mount(2): Permission denied
mount.nfs4: access denied by server while mounting 192.168.1.113:/var/moodle_quarentena_videos
AFTER RESET nfsshare option
# SERVER
root@m01:~# zfs set sharenfs=off datastore/moodle_quarentena_videos
root@m01:~# zfs set sharenfs="rw=@192.168.1.141/32,insecure" datastore/moodle_quarentena_videos
root@m01:~# cat /etc/dfs/sharetab
/var/moodle_quarentena_videos - nfs rw=@192.168.1.141/32,insecure
#CLIENT
root@servicos:~# mount -a -v
mount: proc already mounted on /proc
mount: UUID=f8a6cca1-cdf5-401b-babc-e1a218a24d6f already mounted on /boot
mount.nfs4: timeout setfor Thu Jul 30 07:16:44 2015
mount.nfs4: trying text-based options 'addr=192.168.1.113,clientaddr=192.168.1.141'
root@servicos:~# df -h /var/moodle_quarentena_videos
Filesystem Size Used Avail Use% Mounted on
192.168.1.113:/var/moodle_quarentena_videos 119G 48M 119G 1% /var/moodle_quarentena_videos
One configuration that I have changed, before reset the nfsshare option in nfs server, was the nfs protocol version from nfs to nfs4 on /etc/fstab of nfs client, but I don't know if it will solve the issue definitely...
Sometimes I have a permission denied problem when I try to mount the share from one allowed node (in this case, 192.168.1.141/32). I don't know why or when this happens (I mean what is the issue's trigger), but I think that is caused by ZoL because the problem is solved only when I set the nfsshare property to off and then to rw=@192.168.1.141/32,insecure.
The NFS server is m01 (192.168.1.113)
The NFS client is servicos (192.168.1.141)
BEFORE RESET nfsshare option
AFTER RESET nfsshare option
One configuration that I have changed, before reset the nfsshare option in nfs server, was the nfs protocol version from nfs to nfs4 on /etc/fstab of nfs client, but I don't know if it will solve the issue definitely...
The text was updated successfully, but these errors were encountered: