NFS problem AIX6.1


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems AIX NFS problem AIX6.1
# 1  
NFS problem AIX6.1

Hello,

I have a problem with an NFS file system. Both AIX servers are AIX6.1 and uses NFS version 3.
The problem is that at some point the client server cannot connect to the NFS anymore and when i do
Code:
df -k

it displays the message NFS server <server> not responding still trying.
i run the command
Code:
/usr/sbin/rmnfsmnt -f '/nim/mksysb/' '-B'

and it returns the following error:
umount: 1831-015 16 error while unmounting <server>:/nim/mksysb/ -
The requested resource is busy.
rmnfsmnt: 1831-362 Error in unmounting /nim/mksysb/

while i check that the entry in /etc/filesystems is removed i still see that the NFS is trying to connect unsuccessfully.
So i tried to forcefully unmount the file system using the command
Code:
umount -f /nim/mksysb/

but it stucks. The strange thing is that if i check my file systems at the time that the command runs it seems that the NFS is umount and
Code:
df -k

works fine without reporting any warnings or errors.
I let the
Code:
umount -f

run for a lot of hours but it doesnt seem to finish. When i stopped the command the NFS appears back and when i do
Code:
df -k

i get the same message NFS server <server> not responding still trying again.

How can i get rid of this?
Thank you.
# 2  
First off: it looks like you are trying to handle NIM-shares by hand: don't do that! Most NIM problems come from exporting the NIM root-tree (or a superset of it) via NFS and then trying to allocate a NIM-resource (which will create the entry in "/etc/exports" and run the export automatically). This sometimes fails for no apparent reason. Honestly, i believe this to be a weak spot in an otherwise phantastic OS.

Second: it lies in the nature of NFS to have very, very long timeouts. If - for instance - a DNS server becomes unresponsive and your exports use Domain Names instead of raw IP addresses it might look like NFS got stuck while in fact the DNS server is responsible and DNS is just trying very long to before giving up. Something like this might be the case here.

Unfortunately, really stuck NFS mounts are reasonably got rid of only by a reboot, otherwise you might have to wait for really long times (sometimes even hours) before accomplishing it.

I hope this helps.

bakunin
# 3  
To stop all client activity you can use:
Code:
# nfs.clean
# sleep 5
# rc.nfs

The first command stops all nfs daemons, and the second restarts them. In other words, do NOT use
Code:
stopsrc -g nfs; sleep 5; startsrc -g nfs

And, you may want to do this on the (NIM) server instead/also/first.

Note:
# rmnfsmnt -f ...
will remove the entry from /etc/filesystems

  • to check on a nfs server
# rpcinfo -p nfs_server | grep nfs
This will tell you which nfs protocols are supported AND active
# showmount -e nfs_server
This will tell you what is (still) exported.

The message you are getting (NFS server ...not responding, still trying) implies that the rpc communication is "down" for whatever reason - OR - the directory is no longer exported.
This User Gave Thanks to MichaelFelt For This Post:
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #482
Difficulty: Medium
in 2018, developers and programmers rarely used an Integrated Development Environment (IDE) that provided a text editor with code highlighting.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

NFS problem in server

Hi, In our production system one of the users complained of receiving the error below in the /var/adm/messages : Apr 9 00:05:03 L28emmol1 EV_AGENT: Agent Main --Estream construct failed. Err: EMULSocket::recv() Apr 9 00:05:03 L28emmol1 nfs4cbd: nfssys NFS4_SVC failed Apr 9 00:05:03... (1 Reply)
Discussion started by: anaigini45
1 Replies

2. AIX

problem to restart services from /etc/inittab in AIX6.1

hello, i have an AIX6.1.7.2 machine that it was upgraded recently from AIX5.3.9.4. when i kill system services that should restart automatically like /usr/sbin/cron it doesnt start. i checked my /etc/inittab file and i confirmed that this service is in respawn status so when i kill this process... (2 Replies)
Discussion started by: omonoiatis9
2 Replies

3. AIX

Problem with NFS

Hello everyone I need to share a file system with two Aix boxes, the version is 5.3 tl9. I create the nfs and I can see the files from both servers, but the problem with one of them is that I can write on the file or If I create a new one I canīt. On the server that I create the... (5 Replies)
Discussion started by: lo-lp-kl
5 Replies

4. SuSE

Strange NFS Problem

Dear all, in one of our SLES 10 NFS Client there is this statement in its /etc/fstab: NFS-Server:/tools /tools nfs hard,bg,intr,noatime 0 0 In a case where a reboot of the NFS Server and this client is necessary - due to some reasons we have to boot the client first and then it's NFS... (2 Replies)
Discussion started by: xunil321
2 Replies

5. Solaris

Problem with NFS

Hi All, I have shared a directory from Linux machine which will be accessible from other linux servers without any problem. But when I try to access ( ie mount) on other Solaris machine, it is giving below error. #mount -F nfs IP of nfs server:/share /localmountpoint nfs mount : mount:... (1 Reply)
Discussion started by: naw_deepak
1 Replies

6. Solaris

NFS problem on Solaris 8

I have problem to map directory from the client. But here is what I have done on the server # exportfs - /export/home/sefas/director/traffic rw "" # ps -ef|grep nfs root 192 1 0 May 20 ? 0:00 /usr/lib/nfs/lockd daemon 193 1 0 May 20 ? ... (0 Replies)
Discussion started by: shamsul
0 Replies

7. AIX

nfs problem...

Got a prob.. I am trying to export a directory and mount it on to a server using NFS. My exporting goes fine as I am able to see the shares through "exportfs -v" But when I am trying to mount the directory on a the client.. I get an error.. "system call error number - 1" pls help.... ... (3 Replies)
Discussion started by: balaji_prk
3 Replies

8. UNIX for Advanced & Expert Users

nfs problem help

I am having problem mounting my nfs mount on my sun solaris 8 through automount using the automaster file. this has been working fine until today, when my workstation tries to mount the nfs mount the following error is logged in /var/adm/message NFS lookup failed for server comserv: error 7... (2 Replies)
Discussion started by: hassan2
2 Replies

9. UNIX for Advanced & Expert Users

NFS Problem

For having shared file system i've been using nfs ,but regarding this i've some problem ,when i execute "df -ak" i can see the shared file system & i can also go there & list files ,but when i want to create anything in this area (Incld. file ,dir ....) i get permission denied. (i've shared related... (6 Replies)
Discussion started by: nikk
6 Replies

10. UNIX for Advanced & Expert Users

NFS Problem !

Hi, I've mounted one of the file systems on another machine manually on /mnt located on my machine , after finishing my work i want to umount this /mnt , but all the time it says " nfs umount : /mnt : is busy " ,although it's not. so i tried to stop & start Nfs services manually (Incld :... (4 Replies)
Discussion started by: nikk
4 Replies

Featured Tech Videos