From: Arnau Bria Subject: nfs problem Date: Thu, 25 Jan 2007 15:30:53 +0100 Message-ID: <20070125153053.26ccee52@lx-arnau.pic.es> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1HA5e4-0001zu-BD for nfs@lists.sourceforge.net; Thu, 25 Jan 2007 06:32:08 -0800 Received: from mailgw2.fnal.gov ([131.225.111.12]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HA5e3-0000K7-UG for nfs@lists.sourceforge.net; Thu, 25 Jan 2007 06:32:10 -0800 Received: from mailav1.fnal.gov (mailav1.fnal.gov [131.225.111.18]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0JCF003UXHJ2LH@mailgw2.fnal.gov> for nfs@lists.sourceforge.net; Thu, 25 Jan 2007 08:32:00 -0600 (CST) Received: from mailgw2.fnal.gov ([131.225.111.12]) by mailav1.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2007012508320030726 for ; Thu, 25 Jan 2007 08:32:00 -0600 Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0JCF00701HE9PZ@mailgw2.fnal.gov> (original mail from arnau@fnal.gov) for nfs@lists.sourceforge.net; Thu, 25 Jan 2007 08:32:00 -0600 (CST) Received: from lx-arnau.pic.es (lx-arnau.pic.es [193.146.196.198]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPSA id <0JCF003NCHPAYO@mailgw2.fnal.gov> for nfs@lists.sourceforge.net; Thu, 25 Jan 2007 08:32:00 -0600 (CST) List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net Hi, I have a new nfs server with this env: [root@cdf-nfsserver root]# uname -a Linux cdf-nfsserver 2.4.21-32.0.1.ELsmp #1 SMP Wed May 25 15:42:26 CDT 2005 i686 i686 i386 GNU/Linux [root@cdf-nfsserver root]#rpm -qa|grep nfs nfs-utils-1.0.6-33EL redhat-config-nfs-1.0.13-6 [root@cdf-nfsserver root]# cat /etc/redhat-release Scientific Linux release 3.0.5 (Fermi) and a client with same redhat-release, nfs-utils package version and diff kernel: [root@cdf-bcnhead init.d]# uname -a Linux cdf-bcnhead 2.4.21-47.0.1.ELsmp #1 SMP Thu Oct 19 10:46:05 CDT 2006 i686 i686 i386 GNU/Linux I'm noticing that communication between them is very slow, but they share switch, so shouldn't be bad. No errors packets reported in ifconfig: RX packets:219163615 errors:0 dropped:0 overruns:0 frame:0 TX packets:264718776 errors:0 dropped:0 overruns:0 carrier:0 Looking into logs I found this messages in server (cdf-nfsserver) cdf-nfsserver rpc.statd[3294]: Received erroneous SM_UNMON request from IP_SERVER for IP_CLIENT cdf-nfsserver rpc.statd[3294]: Received erroneous SM_UNMON request from IP_SEVER for IP_CLIENT and in the client: (cdf-bcnhead) cdf-bcnhead rpc.statd[11731]: Received erroneous SM_UNMON request from IP_CLIENT for IP_SERVER cdf-bcnhead rpc.statd[11731]: Received erroneous SM_UNMON request from IP_CLIENT for IP_SERVER *I have modified values of IP_SERVER-IP_CLIENT* and looking into client's dmesg I find lots of connection lost messages: nfs: server IP_SERVER not responding, still trying nfs: server IP_SERVER OK and nothing in server. As I don't know if the error come from server/client, I've checked Nfs server processes: [root@cdf-nfsserver root]# uptime 11:05:05 up 1 day, 23:09, 1 user, load average: 0.00, 0.02, 0.00 [root@cdf-nfsserver root]# ps -ef|grep nfs root 2931 1 0 Jan23 ? 00:12:31 [nfsd] root 2932 1 0 Jan23 ? 00:12:08 [nfsd] root 2933 1 0 Jan23 ? 00:11:27 [nfsd] root 2934 1 0 Jan23 ? 00:12:00 [nfsd] root 2935 1 0 Jan23 ? 00:12:40 [nfsd] root 2936 1 0 Jan23 ? 00:11:12 [nfsd] root 2937 1 0 Jan23 ? 00:11:59 [nfsd] root 2938 1 0 Jan23 ? 00:12:27 [nfsd] It is up for one day, and nfsd processes have consumed more than 12 minuts, is this normal? First google search pointed me to statd directory's permits: # ls -lsad /var/lib/nfs/statd 4 drwx------ 4 rpcuser rpcuser 4096 Jan 17 10:19 /var/lib/nfs/statd but seems correct in both server and client. Second search recommends a downgrade of nfs-utils, but before doing so, I'd like to confirm that this is the only solution. This is server conf: # cat /etc/exports /home/cdfcaf NET.0/255.255.252.0(rw,async,no_root_squash) /home/cdfsoft NET.0/255.255.252.0(rw,async,no_root_squash) /home/cafmon NET.0/255.255.252.0(rw,async,no_root_squash) /home/sam NET.0/255.255.252.0(rw,async,no_root_squash) and client uses autofs: # cat /etc/auto.master /home /etc/auto.home --timeout=600 # cat /etc/auto.home cdfcaf -rw,hard,intr,async,rsize=8192,wsize=8192 IP_SERVER:/home/cdfcaf cdfsoft -rw,hard,intr,async,rsize=8192,wsize=8192 IP_SERVER:/home/cdfsoft sam -rw,hard,intr,async,rsize=8192,wsize=8192 IP_SERVER:/home/sam cafmon -rw,hard,intr,async,rsize=8192,wsize=8192 IP_SERVER:/home/cafmon Anyone knows where is the source of this problem? Thanks in advance, Arnau ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs