Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2003 10:47:55 -0400
From:      Tom Limoncelli <tal@lumeta.com>
To:        freebsd-questions@freebsd.org
Subject:   amd always nfs mounts as tcp?
Message-ID:  <B0E978B8-9764-11D7-A0C3-000A956888C8@lumeta.com>

next in thread | raw e-mail | index | archive | help
amd on my NFS clients always mounts using TCP.  I need to use UDP (long 
story).  I've tried many different options and I can't get it to use 
UDP.

If I mount it "manually" (i.e. without amd) it works fine:
	mount_nfs -3 -U server1:/u1/foo /mnt
I can verify that it is using tcpdump.

The amd map lists:
/defaults       
type:=nfsl;rhost:=server1;opts:=rw:nfs_proto=udp;rfs:=${fs}
foo     fs:=/u1/${key}
bar     fs:=/u2/${key}
baz     fs:=/u2/${key}

The NFS client is running FreeBSD 4.7, and the NFS server is running 
4.8.

How do I get amd to use udp instead of tcp?

Thanks in advance!
--Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0E978B8-9764-11D7-A0C3-000A956888C8>