amd always nfs mounts as tcp?

Tom Limoncelli tal at lumeta.com
Thu Jun 5 07:47:57 PDT 2003


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



More information about the freebsd-questions mailing list