I have installed nfs-utils to be able to use mount.nfs and mount.nfs4. I get to this problem:
root@xxxx:~# mount.nfs -o tcp,vers=3 -vv 10.0.2.1:/mnt/archivePH2 t1/
mount.nfs: timeout set for Tue Feb 21 23:32:16 2017
^C
root@xxxx:~# mount.nfs4 -o tcp,vers=4 -vv 10.0.2.1:/mnt/archivePH2 t1/
mount.nfs4: timeout set for Tue Feb 21 23:32:25 2017
mount.nfs4: trying text-based options 'tcp,vers=4,addr=10.0.2.1,clientaddr=10.0.2.226'
mount.nfs4: mount(2): No such device
mount.nfs4: No such device
The first command hangs and second terminates immediately. Dmesg and /var/log/messages are not showing anything. Fyi:
root@xxxx:~# lsmod | grep nfs
lockd 51491 3 nfsd
nfs 108782 1 nfsv3
nfsd 73385 0
nfsv3 18297 0
sunrpc 158054 4 nfsd
Im quite sure that server support nfs4 nad has open ports since i use this share form other computers. Please any ideas what am I doing wrong?