NFS mount point problem
I am running OEL5. I mounted a mountpoint /NTFS as nfs mountpoint. After every 15 minutes, the mountpoint goes dead & I cant go in that directory.
The entry for /NTFS in fstab is as follow
nas:/NTFS /NTFS nfs rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0 0 0
where nas is the server where /NTFS is located
The hangover of mountpoint occur in 2 steps:
1. cd /NTFS
bash: cd: /NTFS: Stale NFS file handle
Message in var/log/messages for this command
Cannot export /NTFS, possible unsupported filesystem or fsid= required
2. cd /NTFS
The Process Hang there forever
Message in /var/log/messages for this command
nfs:server nas not responding, still trying
If I restart nfs service it hang out till the following step
-bash-3.2# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Please someone guide me in the direction of solution to this problem.
Thanks in advance.
As I understand u r trying to mount some NFS export on this mountpoint /NTFS.& it goes stale after every few while.
Well...........Stale nfs if it says ..that means may be the client is not able to communicate to the server & that points to some network errors.
Keep a ping to the nfs server & then as soon as you get the stale msg, check if u lost replies at same instance or not
After /NTFS mountpoint turning stale, I can ping nas server. Please see the log below.
[-bash-3.2# more messages
Mar 31 11:51:40 earth kernel: nfs: server nas not responding, still trying
-bash-3.2# ping nas
PING nas (192.168.201.138) 56(84) bytes of data.
64 bytes from earth (192.168.201.138): icmp_seq=1 ttl=64 time=0.022 ms
64 bytes from earth (192.168.201.138): icmp_seq=2 ttl=64 time=0.021 ms
64 bytes from earth (192.168.201.138): icmp_seq=3 ttl=64 time=0.018 ms
--- nas ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.018/0.020/0.022/0.004 ms
|All times are GMT -5. The time now is 06:23 AM.|