NFS server xxxxx not responding still trying


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers NFS server xxxxx not responding still trying
# 1  
Old 03-07-2019
NFS server xxxxx not responding still trying

Hello,

I got the below error on my AIX system when doing a df command

Code:
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.

Code:
[root@yyyyyy] / > umount /mountpoint/
umount: Could not find anything to unmount

Also stop and start the nfs client, but still not help.
My AIX version is 6.1

--- Post updated at 09:02 AM ---

There is a way we can force the nfs to stop trying?
# 2  
Old 03-07-2019
Quote:
Originally Posted by Phat
We check and know that the NFS server is not available anymore. So we would like to unmount it, but no help.
The problem is not the NFS itself but the mount process. But the very first question is: which NFS? NFS3 works completely different than NFS4 (and NFS2 is still - theoretically - available although only rarely used these days).

Quote:
Originally Posted by Phat
Code:
[root@yyyyyy] / > umount /mountpoint/
umount: Could not find anything to unmount

hmm... and it is still listed as "mounted" when you issue a mount command? Please check again because this looks unfamiliar.

Quote:
Originally Posted by Phat
Also stop and start the nfs client, but still not help.
How did you do that? NFS is controlled by the "system resource controller" and you have to stop/start it from there. FIrst, get the status (if you are unsure, please post the output of these comamnds, enclosed in CODE-tags):

Code:
lssrc -g nfs

Then stop it and/or start it. Before stopping it check for exported directories in /etc/mtab. If this file is not empty there are exports defined. Make sure other hosts are not affected by the stopping of the service.:

Code:
stopsrc -g nfs
startsrc -g nfs

Before restarting the NFS check if there are NFS mounts defined in /etc/filesystems.
# 3  
Old 03-07-2019
# 4  
Old 03-07-2019
Hi Bakunin,
Code:
How did you do that?

I use the method you mentioned, but use the parameter s, not g
Code:
stopsrc -s nfsd
startsrc -s nfsd

Thank you for your mount command. With mount command I found this:
Code:
[root@xxxx] / > mount
  node       mounted        mounted over    vfs       date        options
-------- ---------------  ---------------  ------ ------------ ---------------
         ...................................................
10.x.x.x /mount1   /mnt             nfs3   Apr 18 01:12

What I look in the config file /etc/filesystems:
Code:
/mount2:
        dev             = "/mount1"
        vfs             = nfs
        nodename        = 10.x.x.x
        mount           = true
        options         = intr
        account         = false

--> someone made the bad change here for some reasons.


Now I can force unmount the problematic mountpoint
Code:
[root@xxx] / > umount /mnt
umount: 16 error while unmounting 10.x.x.x:/mount1 - Device busy
[root@xxxx] / > umount -f /mnt
Warning: umount:: RPC: 1832-018 Port mapper failure - RPC: 1832-008 Timed out
forced unmount of /mnt

--- Post updated at 10:31 AM ---

Quote:
Originally Posted by hicksd8
Thank you for your info.
However, my problem is that someone made the bad change in configuration file, and it implies to my wrong action.
# 5  
Old 03-07-2019
First a (minor) appeal: for quotes please use "QUOTE"-tags, not "CODE"-tags. The resulting formatting is different and it is easier that way to keep track of various parts of a posting. Thank you for your consideration.

Quote:
Originally Posted by Phat
I use the method you mentioned, but use the parameter s, not g
Code:
stopsrc -s nfsd
startsrc -s nfsd

The difference is that stopsrc -s only stops a single service (in this case nfsd) whereas stopsrc -g stops a group of services altogether. If you do a lssrc you will see the various groups the services belong to mentioned. You can use this group name to manage whole groups instead of single services. The same goes for startsrc and refresh.

NFS is not only nfsd but also portmapper, biod and statd (and maybe something else, i have no AIX system at hand and am quoting from failing memory). With the -g option you can manage the whole affected group (which is "nfs", not "nfsd"!).

Quote:
Originally Posted by Phat
Thank you for your mount command. With mount command I found this:
LOL, i know the feeling. Have you ever considered using a sledgehammer on the persons private parts? This, i think, is called "best practice" as it not only drives home the message but also prevents procreation of such people. ;-))

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

2. UNIX for Dummies Questions & Answers

Server with OpenVZ virtualisation is not responding but VMs are OK

Server is accessible only via IPMI. SSH and web control panel is timeout. Takes several hours. Server dont have high load or suspicious processes. I checked /etc/hosts.deny and restarted ssh, but nothing :( (0 Replies)
Discussion started by: postcd
0 Replies

3. Red Hat

RHEL5 Server not responding

I have RHEL5 server Sometimes ping timeout occured and i can not access server from any tool or ILOM Any ideas how to solve this? (5 Replies)
Discussion started by: rafat_nasar2010
5 Replies

4. Red Hat

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... (4 Replies)
Discussion started by: Arsene Lupen
4 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. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
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

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