I set up my NFS server without doing any bigger changes in configuration files. After that I added these entries to /etc/exports(both paths are valid) on server(192.168.1.11):
/export 192.168.1.0/192.168.255.255(rw,fsid=0,insecure,no_subtree_check,async)
/export/users 192.168.1.0/192.168.255.255(rw,nohide,insecure,no_subtree_check,async)
Then I restarted the computer and I tried to get exports list:
$ showmount -e 192.168.1.11
/export 192.168.1.0/192.168.255.255
/export/users 192.168.1.0/192.168.255.255
According to this output there's not problem with connection. Now I want to mount /export to client filesystem(192.168.1.12):
sudo mount -t nfs4 192.168.1.11:/export /mnt
After typing this there's no output and I can't do anything. Another terminal line start is not being displayed. Command is stuck.
Does anybody know am I doing wrong? Please help me.
-t nfs4it throws this error:mounting 192.168.1.11:/export failed reason given by server:No such file or directory. It works with-t nfs. But: I have specified rw option, but on client I cannot write my file. Any idea? – user35443 Jan 20 '13 at 08:17chown -R nfsnobody.nfsnobody /export– Amirul Ali Jan 21 '13 at 02:44