Link to home
Start Free TrialLog in
Avatar of Jasmin shahrzad
Jasmin shahrzad

asked on

nfs mount timeout

i install nfs-server on ubuntu desktop 18.04
then share a directory on /etc/expports:
/mnt/sharedirectory client-ip(rw,sync,no_subtree_check)

from client ip i try to mount shared directory
mount -t nfs desktop-ip:/mnt/sharedirestory /mnt/srchive/
 mount.nfs: Connection timed out
nothing is in my auth.log or syslog.
from that client i mountet directories from other server . Then error should be in my desktop. But i can't see any.
Avatar of arnold
arnold
Flag of United States of America image

Us ounces as though you did not make requisite changes with sfw to the firewall to allow access to the service.

Use ps to see if you have nfsd running as well as RPC.statd and locks

Why are you having//sharing from /mnt?
/mnt is commonly a mount point for temporary/external ...
Avatar of noci
noci

The nfs service has been restarted after updating the /etc/exports?
Exports -a to republish.
Avatar of Jasmin shahrzad

ASKER

i restart services. not help.
i try with option -v : mount -v ip:/mnt/sharedirectory /mnt/share
mount.nfs: trying text-based options 'vers=4,addr=my-ip,clientaddr=clientip'
Is a firewall (on client or server or between client & server) blocking port TCP/2049?
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i did no help.
Did what, make sure the firewall settings allow access for NFS?
Is nfsd' statd, locked running?
Please post
netstat  -an | grep -i listen