problem with NFS daemon?????


 
Thread Tools Search this Thread
Operating Systems AIX problem with NFS daemon?????
# 1  
Old 11-28-2005
Question problem with NFS daemon?????

hi team
we had a problem in mounting a network file system from source server to target server and we are not able to mount the file system and we checked all the configuration files and we execute the command in the source server

lssrc -a | grep nfsd we found that 2 nfsd in that one is active and another is inoperative


Is this cause for our problem ?or any other thing?

could any one help me regarding this issue?
# 2  
Old 11-28-2005
Stop and Start

I would recommend stopping the nfs daemon and when the service is completely stopped, including the inoperative service I would then start the nfs daemon. See if that resolves your problem.
# 3  
Old 11-29-2005
Question thanks for the sugg.

and one more problem is that
i am not suppose to stop and start that daemon and is there any other solution for this ????
# 4  
Old 11-29-2005
I do not know AIX, but I doubt that nfsd has anything to do with mounts. Don't you have a mountd? With most versions of unix, it would handle mounts. Try to restart that if you have one.
# 5  
Old 11-29-2005
Your nfs mount from the other server could be hung on the inoperative nfsd process on the server where the nfs directory exists. I am a little confused that if the nfs mount is not working at all why recycling the nfsd daemon would be a problem. Is the nfs directory you are trying to mount working on other servers? If so, then you may have another issue. What error are you getting when you try to mount the nfs directory?
# 6  
Old 12-02-2005
In AIX NFS - like many other daemons - is handled via a "super-daemon" called "System Resource Controller". Many daemons (in SRC teminology "subsystems" and "subservers") are relying on this mechanism.

They have to be registered, then can be listed (lssrc), (re-)started (startsrc, refresh) and stopped (stopsrc) either one by one or - as they are organized in groups - groupwise.

"nfs" is a group of such subsystems and a running nfs should look similar to the following:

Code:
# lssrc -g nfs
Subsystem         Group            PID          Status 
 biod             nfs              307374       active
 nfsd             nfs              397322       active
 rpc.mountd       nfs              299080       active
 rpc.statd        nfs              372738       active
 rpc.lockd        nfs              381142       active

First, try restart your NFS system, in this case not by restarting it but by shutting it down and starting it up anew:

Code:
stopsrc -g nfs

If this fails for some processes the notoriously somewhat unstable (desperately wanting to describe it in accurate terms which, alas, would be NC-21) NFS system of AIX has managed to fail for another time. Reboot the machine.

If this is successful start it up again:

Code:
startsrc -g nfs

Next part of the debugging would be the file /etc/exports. DO NOT rely on SMITty to edit this file, better do it yourself. Consult your AIX manual on how to do it. Basically it should look like:

Code:
/usr/sys/inst.images -ro,access=machine1
/my/dir

The directory /usr/sys/inst.images is exported readonly to only machine machine1, the directory /my/dir is exported for all to use in read/write.

After altering this file put its directives into use by issuing

Code:
# exportfs -va

then control the result by
Code:
# showmount -e


After this try mounting it on the remote machine.

Hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

effects of bin file stored in nfs & run as daemon

Hi, Good Day, I had this question in my mind.Hope someone can give me his/her thought about it. Question: I had a binary files stored in the nfs system and mounted several workstation locally and running as deamon. Is there in effect to the networks or any problem me arise regarding network... (3 Replies)
Discussion started by: jao_madn
3 Replies

2. SCO

Problem with nfs exports between 5.0.5 and 5.0.7

Hello everyone! I have two systems: an old SCO 5.0.5 Openserver (here's the uname -a output): /# uname -a SCO_SV munixela 3.2 5.0.5 i386 And a SCO 5.0.7 OpenServer (uname -a output): /# uname -a SCO_SV catedral 3.2 5.0.7 i386 I exported a Filesystem from the 5.0.7 machine, using the... (13 Replies)
Discussion started by: superchivo
13 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. 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

5. 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

6. Solaris

NFS Daemon

I'm setting up a solaris server at home. At the moment I have to keep running: /etc/init.d/nfs.server start To start my NFS server process. Is there anything I can do to make this happen automatically at boot? Many thanks in anticipation. Stin. (4 Replies)
Discussion started by: Stin
4 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
Login or Register to Ask a Question