After umount -lf: kernel: nfs: server HOSTNAME not responding, timed out

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat After umount -lf: kernel: nfs: server HOSTNAME not responding, timed out
# 1  
Old 06-21-2012
After umount -lf: kernel: nfs: server HOSTNAME not responding, timed out

Greetings!

I'm testing a failover solution for NFSv4 on RHEL6 with latest updates.
My script umounts (umount -lf /share) the faulty NFS share if it sees that's hanging on the client (the NFS daemon is down on the NFS server) and it mounts the share from another healthy NFS server.

Sometimes I can see that a process/thread is still in the memory and producing the messages in the $SUBJ - 'kernel: nfs: server SERVER not responding, timed out'
I already have the new healthy NFS share from another server and 'nfsstat -m' shows that this is the only share on the NFS client system.

I've tested the following commands to find the stacked process/thread:
  • lsof -i | egrep 'SERVER|SERVER_IP'
  • lsof +d /share
  • fuser -fvm /share
  • netstat -anop | egrep 'SERVER|SERVER_IP
  • ... and a couples of others with lsof.. but no PID.
Thread? ..the ps command thread related options don't show IP addresses/host names.. But the kernel is continuously logging the error.

Any suggestion is welcome to detect it.

Thank you Arsene
# 2  
Old 06-21-2012
How are you mounting your NFS share ?

If you don't specify hard,intr as mount option, the client process cannot be killed or interrupted.
# 3  
Old 06-21-2012
rw,noexec,nosuid,nodev,bg,soft,intr,rsize=65536,wsize=65536

---------- Post updated at 05:49 PM ---------- Previous update was at 05:48 PM ----------

Hi,

I forgot to mention but I don't restart the NFS client during the failover.
# 4  
Old 06-21-2012
Try removing the bg option.

From NFS manual :

Code:
                     If the bg option is  specified,  a  timeout  or  failure
                      causes  the  mount(8) command to fork a child which con-
                      tinues to attempt to mount the export.  The parent imme-
                      diately returns with a zero exit code.  This is known as
                      a "background" mount.

# 5  
Old 06-23-2012
NFS Failover

Hi Arsene,

Can you please share the information on how did you achieve NFS failover ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

NFS server xxxxx not responding still trying

Hello, I got the below error on my AIX system when doing a df command NFS server xxx not responding still trying We check and know that the NFS server is not available anymore. So we would like to unmount it, but no help. / > umount /mountpoint/ umount: Could not find anything to... (4 Replies)
Discussion started by: Phat
4 Replies

2. SCO

NFS umount shows the "Device busy (Error 16)"

Hi there After making a backup copy of it sometimes happens that when I want to unmount an NFS indicates the error:umount: /path_mount busy: Device busy (Error 16) if I run lsoff, I can not find the process that is blocking the application. I'm using OpenServer 5.0.2c as one NFS server ... (14 Replies)
Discussion started by: flako
14 Replies

3. Solaris

nfs mount: RPC: Rpcbind failure - RPC: Timed out

Fails to mount the server (10.125.224.22) during installation of a software on client, throwing the below error: nfs mount: 10.125.224.22: : RPC: Rpcbind failure - RPC: Timed out nfs mount: retrying: /cdrom This happened after complete shutdown of the lab. The server came up fine but most... (1 Reply)
Discussion started by: frintocf
1 Replies

4. UNIX for Dummies Questions & Answers

Make sure kernel was compiled with NFS server support

Hi there, I have a Debian Squeeze server. How can I check if my kernel was compiled with NFS server support? Extra question: if it is not, how do I enable NFS support in my kernel? Thanks for your help. Santiago (3 Replies)
Discussion started by: chebarbudo
3 Replies

5. UNIX for Advanced & Expert Users

NFS server <servername> not responding still trying

Hi gurus, OS = SunOS 5.8 Not sure whether to post this in the scripting one or to advance and experts. Am posting on both since there is two things that am wanting to achieve. Am currerntly having NFS server errors below. At this stage, I am not sure whether I am having a SAN storage issue... (2 Replies)
Discussion started by: newbie_01
2 Replies

6. UNIX for Dummies Questions & Answers

Simple way to umount NFS mount in linux

Hello... I've mounted a share using standard nomenclature for the NFS mount command with the following command line: mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw) mnt_for_70 is a mount point I created on {IP address2} I'm confuse and want to be sure I use the... (1 Reply)
Discussion started by: blaine.miller
1 Replies

7. Solaris

Locate NFS "not responding still trying" application on client

At times I have unknown applications that hang for long periods of time over and over again after a network glitch. These are sometimes nfs4 but usually nfs3 clients and are always solaris10 systems. nfs: NFS server hostname not responding still trying nfs: NFS server hostname ok nfs: NFS... (1 Reply)
Discussion started by: HPAVC
1 Replies

8. UNIX for Dummies Questions & Answers

Solaris 9 server not responding

I'm in panic mode. This isn't a production server, however, is very vital to office. Sun V240 with Solaris 9, stopped accepting ftp sessions. When I tried to remote into box, it didn't respond. I have tried rebooting to boot in single user mode, no luck. I can see that it is ON but I can't get it... (3 Replies)
Discussion started by: mkeis1144
3 Replies

9. UNIX for Dummies Questions & Answers

Mounting nfs filesystems with /net/hostname

Ok ive inherited a number of unix boxes who have drives mounted in different ways. Mostly the nfs filesystems are named in vfstab but some mount points for remote servers are not mentioned in vfs tab and are in fact links to /net/hostname/directory Does anyone know how this is setup? (1 Reply)
Discussion started by: MBGPS
1 Replies

10. UNIX for Dummies Questions & Answers

NFS SERVER.....not responding

Hi i am using HPUX11.00 and i am facing a starnge problem after some time when i log on a message is coimng NFS server not responding still trying....and it keps on coming there is no other way but to log out..form the server and start once again... there is no file system exported or NFS... (3 Replies)
Discussion started by: Prafulla
3 Replies
Login or Register to Ask a Question