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
it displays the message NFS server <server> not responding still trying.
i run the command
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
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
works fine without reporting any warnings or errors.
I let the
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
i get the same message NFS server <server> not responding still trying again.
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.
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
To stop all client activity you can use:
The first command stops all nfs daemons, and the second restarts them. In other words, do NOT use
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:
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)
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)
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)
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)
Hi Gurus,
I am trying to share certain file with NFS.
Requirement is to give access to root of another host to some file system which is shared through NFS.
Step1.
I entered the below line in /etc/dfs/dfstab
share -F nfs -o root=sun2 /usr/src
... (3 Replies)
AIX's NFS client sends requests on high port numbers by default, and
Linux rejects this as the security exposure it is. On AIX i'm use:
nfso -o nfs_use_reserved_ports=1
But how i can setup it in autorun? /etc/rc.local right way ? (1 Reply)
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)
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)
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)
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)