You are not logged in.
After an update of my NFS server, clients can't mount exported directories.
I didn't chage the configuration of the server or clients
I readed other related therads here but I can't find an explanation of why this heppend.
The following line block the console for ever and do not mount nothing
$ sudo mount -vvv -t nfs4 -o sec=krb5,rsize=8192,wsize=8192,timeo=14,_netdev elbizco:/dir /mnt/nfs
mount.nfs4: timeout set for Wed Nov 21 19:54:42 2018
mount.nfs4: trying text-based options 'sec=krb5,rsize=8192,wsize=8192,timeo=14,addr=192.168.1.134,clientaddr=192.168.1.128'
Any help will be welcome. Thank you
Offline
Each mount connection tryed from client, server stats increments the calls count and badcalls remain to cero:
So NFS server is listeing and counting request but don't say anything
Offline
Hum... Adding
proto=tcp,port=2049
on Arch clients fstab file make mount proccess work again. But still not working on Debian clients whit the same options. Any idea?
Offline
Try
systemctl status nfs-server
it'll probably tell you to
systemctl daemon-reload
first and then
systemctl restart nfs-server
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Hi again. How I said, the problem solved in arch nfs clients simply adding proto=tcp,port=2049 options on mount command, but persists in debian nfs clients
This is the actual situation:
Arch clients
Nothing worg. All works fine.
Debian 8 clients
The mount command stay forever hang, and never return to the shell:
$ sudo mount -vvv -t nfs4 -o sec=krb5,rsize=8192,wsize=8192,timeo=14,_netdev elbizco:/touro /mnt/nfs
mount.nfs4: timeout set for Sun Dec 9 13:18:06 2018
mount.nfs4: trying text-based options 'sec=krb5,rsize=8192,wsize=8192,timeo=14,addr=192.168.1.134,clientaddr=192.168.1.128'
Debian 9 clients
On Debian 9 the behavior is a bit different:
/touro
meli@patxi:~$ sudo mount -vvv -t nfs4 -o sec=krb5,rsize=8192,wsize=8192,timeo=14,_netdev elbizco:/touro /nfs/
mount.nfs4: timeout set for Sun Dec 9 13:16:54 2018
mount.nfs4: trying text-based options 'sec=krb5,rsize=8192,wsize=8192,timeo=14,vers=4.2,addr=192.168.1.134,clientaddr=192.168.1.136'
mount.nfs4: mount(2): Permission denied
mount.nfs4: access denied by server while mounting elbizco:/touro
Arch NFS Server
The rpcinfo -p command on Arch NFS server show that info:
https://ptpb.pw/dhls
And here the exported directories:
[root@elbizco ~]# exportfs -vs
/srv/nfs4 192.168.1.0/24(sync,wdelay,hide,no_subtree_check,fsid=0,sec=krb5,rw,secure,root_squash,no_all_squash)
/srv/nfs4/touro 192.168.1.0/24(sync,wdelay,nohide,no_subtree_check,anonuid=125,anongid=125,sec=krb5,rw,insecure,root_squash,all_squash)
Last edited by alfongr (2018-12-09 13:34:11)
Offline
Solved in Debian 9 machines simply adding the FQDN of the NFS server machine on mount command.
Offline