Sponsored Content
Full Discussion: problem with NFS daemon?????
Operating Systems AIX problem with NFS daemon????? Post 91481 by bakunin on Friday 2nd of December 2005 12:35:35 PM
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
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

10. 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
MOUNT.NFS(8)						      System Manager's Manual						      MOUNT.NFS(8)

NAME
mount.nfs, mount.nfs4 - mount a Network File System SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options] DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality. mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality. remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be mounted. Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions, mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2. OPTIONS
-r Mount file system readonly. -v Be verbose. -V Print version. -w Mount file system read-write. -f Fake mount. Don't actually call the mount system call. -n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making an entry. -s Tolerate sloppy mount options rather than fail. -h Print help message. nfsoptions Refer to nfs(5) or mount(8) manual pages. NOTE
For further information please refer nfs(5) and mount(8) manual pages. FILES
/etc/fstab file system table /etc/mtab table of mounted file systems SEE ALSO
nfs(5), mount(8), AUTHOR
Amit Gud <agud@redhat.com> 5 Jun 2006 MOUNT.NFS(8)
All times are GMT -4. The time now is 05:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy