LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can someone tell me the purpose of directories in /var/lib/nfs location? (https://www.linuxquestions.org/questions/linux-newbie-8/can-someone-tell-me-the-purpose-of-directories-in-var-lib-nfs-location-867123/)

kingston 03-08-2011 12:12 AM

can someone tell me the purpose of directories in /var/lib/nfs location?
 
hi all

i have been facing some issues with nfs, suddenly sometimes its getting not-responding error from its clients. Both the server and clients are running with RHEL 5.4 on x86_64 platform. I could see the following directories inside /var/lib/nfs
Quote:

etab rmtab rpc_pipefs statd state v4recovery xtab
i know the use etab,rmtab and xtab files. I want to know about the rest. I googled enough to find the details, but i failed. Can someone explain the use of other directories in /var/lib/nfs location?

I got the following errors while i reboot my server.
Quote:

Mar 1 17:11:34 einbalx0002 kernel: nfs: server einbalx0005 not responding, still trying
Mar 1 22:03:01 einbalx0002 rpc.idmapd[3485]: dirscancb: open(/var/lib/nfs/rpc_pipefs/nfs/clnt5fc): No such file or directory
Mar 2 01:40:55 einbalx0002 kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Mar 2 01:40:55 einbalx0002 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Mar 2 01:40:55 einbalx0002 kernel: NFSD: starting 90-second grace period
Mar 2 06:03:01 einbalx0002 rpc.idmapd[3485]: dirscancb: open(/var/lib/nfs/rpc_pipefs/nfs/clnt620): No such file or directory
Mar 2 07:31:46 einbalx0002 rpc.statd[3298]: statd running as root. chown /var/lib/nfs/statd/sm to choose different user
Mar 2 07:31:49 einbalx0002 rpc.idmapd[3349]: dirscancb: open(/var/lib/nfs/rpc_pipefs/nfs/clnt4): No such file or directory
Mar 2 07:55:01 einbalx0002 rpc.idmapd[3349]: dirscancb: open(/var/lib/nfs/rpc_pipefs/nfs/clnt14): No such file or directory
Thanks in advance

chrism01 03-08-2011 08:10 PM

You appear to have 2 servers
Quote:

I got the following errors while i reboot my server.
Quote:

Mar 1 17:11:34 einbalx0002 kernel: nfs: server einbalx0005 not responding, still trying
The 2nd quote show that the server/system einbalx0002 is booting and attempting to connect via nfs to another server einbalx0005 .
You need to check the nfs settings on the 2nd server; looks like nfs is disabled there.

kingston 03-08-2011 09:43 PM

no, the second server was working fine at that time. I have gone through the logs, but all i can find was some "negative update cache" errors. Can you explain me about the rest of the logs part?
Quote:

Mar 1 22:03:01 einbalx0002 rpc.idmapd[3485]: dirscancb: open(/var/lib/nfs/rpc_pipefs/nfs/clnt5fc): No such file or directory
Mar 2 01:40:55 einbalx0002 kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Mar 2 01:40:55 einbalx0002 kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Mar 2 01:40:55 einbalx0002 kernel: NFSD: starting 90-second grace period
Mar 2 06:03:01 einbalx0002 rpc.idmapd[3485]: dirscancb: open(/var/lib/nfs/rpc_pipefs/nfs/clnt620): No such file or directory
Mar 2 07:31:46 einbalx0002 rpc.statd[3298]: statd running as root. chown /var/lib/nfs/statd/sm to choose different user


All times are GMT -5. The time now is 08:13 PM.