From owner-freebsd-questions Wed Feb 19 10:50:28 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BFEC37B401; Wed, 19 Feb 2003 10:50:26 -0800 (PST) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E7A43FA3; Wed, 19 Feb 2003 10:50:23 -0800 (PST) (envelope-from mi+mx@aldan.algebra.com) Received: from mteterin.us.murex.com (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.7/8.12.7) with ESMTP id h1JIoKDm022380 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Wed, 19 Feb 2003 13:50:21 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: net@FreeBSD.org, questions@FreeBSD.org Subject: problems with amd(8) Date: Wed, 19 Feb 2003 13:51:05 -0500 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302191351.05654.mi+mx@aldan.algebra.com> X-Scanned-By: MIMEDefang 2.21 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I'm trying to make it easier to use NFS from my desktop with amd. Using the vanilla /etc/amd.map (tried changing vers to 2) and only modifying one of the arguments to amd from the default provided by /etc/defaults/rc.conf, I have the amd running as: amd -a /var/run/.amd -l syslog /host /etc/amd.map /net /etc/amd.map (the default -a's argument -- /.amd_mnt is not good for me, since / is mounted read-only). The amd works, but there are very long delays -- 30 to 90 seconds -- each time I do, say ls -ld /net/attila/ While doing this, I ran tcpdump, in two windows -- for each of the interfaces -- but merged the output here for your convenience (MYMACHINE replaces the real hostnames): 13:45:52.972586 localhost.852 > localhost.1023: udp 104 13:45:53.974953 localhost.852 > localhost.1023: udp 104 13:45:55.984956 localhost.852 > localhost.1023: udp 104 13:46:00.014985 localhost.852 > localhost.1023: udp 104 13:46:01.435114 MYMACHINE.3523280896 > attila.nfs: 40 null 13:46:01.435422 attila.nfs > MYMACHINE.3523280896: reply ok 24 null (DF) 13:46:01.435705 MYMACHINE.1022 > attila.sunrpc: udp 144 13:46:01.436335 attila.sunrpc > MYMACHINE.1022: udp 28 (DF) 13:46:08.075112 localhost.852 > localhost.1023: udp 104 13:46:24.125396 localhost.852 > localhost.1023: udp 104 13:46:24.126120 localhost.1023 > localhost.852: udp 96 13:46:24.126217 localhost.852 > localhost.1023: udp 104 13:46:24.126295 localhost.1023 > localhost.852: udp 96 13:46:24.126344 localhost.852 > localhost.1023: udp 104 13:46:24.126410 localhost.1023 > localhost.852: udp 96 13:46:24.127416 localhost.852 > localhost.1023: udp 104 13:46:24.127525 localhost.1023 > localhost.852: udp 96 13:46:24.127578 localhost.852 > localhost.1023: udp 104 13:46:24.127651 localhost.1023 > localhost.852: udp 96 13:46:24.127699 localhost.852 > localhost.1023: udp 104 13:46:24.127765 localhost.1023 > localhost.852: udp 96 Although _all_ of the amd's log messages are directed into the special /var/log/amd.log here, the only things it said in the above three minutes was: Feb 19 13:46:01 MYMACHINE amd[4012]: recompute_portmap: NFS version 2 Feb 19 13:46:01 MYMACHINE amd[4012]: Using MOUNT version: 1 Does this make sense to anyone? What is amd waiting for? My system runs yesterday's -current. attila runs Solaris (SunOS 5.8). I had the same problem with a Linux nfs-server (RedHat 8). Thanks a lot in advance! Yours, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message