The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NFS Daemon Stin SUN Solaris 4 03-18-2008 02:53 AM
Daemon 101 Miller_K Shell Programming and Scripting 3 05-17-2007 05:53 PM
Daemon santosh123 High Level Programming 2 02-19-2007 04:42 AM
log daemon Esaia High Level Programming 0 09-11-2002 01:15 PM
daemon bat_oyu High Level Programming 1 10-16-2001 07:57 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-28-2005
Registered User
 

Join Date: Nov 2005
Posts: 15
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?
Reply With Quote
Forum Sponsor
  #2  
Old 11-28-2005
Registered User
 

Join Date: Jun 2005
Location: Middletown, PA
Posts: 63
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.
Reply With Quote
  #3  
Old 11-28-2005
Registered User
 

Join Date: Nov 2005
Posts: 15
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 ????
Reply With Quote
  #4  
Old 11-28-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
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.
Reply With Quote
  #5  
Old 11-29-2005
Registered User
 

Join Date: Jun 2005
Location: Middletown, PA
Posts: 63
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?
Reply With Quote
  #6  
Old 12-02-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0