Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 13:51:05 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        net@FreeBSD.org, questions@FreeBSD.org
Subject:   problems with amd(8)
Message-ID:  <200302191351.05654.mi%2Bmx@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302191351.05654.mi%2Bmx>