Dear misc@ readers, I actually use amd for a long time, but I never realized this until I started to share large files...
First things first, my amd configuration is neither fancy nor complex: just22@poseidon:[~]> cat /etc/rc.conf.local [...] # BSM automounter portmap_flags="" # DARPA port to RPC program number mapper amd_flags="-a /tmp/amd_mnt -l syslog -x all" [...] just22@poseidon:[~]> cat /etc/amd/master /home/nfs nfs.map just22@poseidon:[~]> cat /etc/amd/nfs.map /defaults type:=nfs;rhost:=argo.atlantide.net;opts:=rw,soft,intr bt rfs:=/home/export/bt just22 rfs:=/home/export/just22 The NFS server (argo) runs OpenBSD 5.7 and exports some directories through NFSv3. The problem on the client side seems that amd is using NFSv2 and UDP instead of NFSv3 and TCP: just22@poseidon:[~]> mount | grep nfs amd:3892 on /home/nfs type nfs (v2, udp, intr, timeo=100, retrans=101) argo:/home/export/bt on /tmp/amd_mnt/argo/home/export/bt type nfs (v2, udp, soft, intr, timeo=100) I also tried something like: just22@poseidon:[~]> cat /etc/amd/nfs.map /defaults type:=nfs;rhost:=argo.atlantide.net;opts:=rw,soft,intr,nfsv3 bt rfs:=/home/export/bt just22 rfs:=/home/export/just22 and also: just22@poseidon:[~]> cat /etc/amd/nfs.map /defaults type:=nfs;rhost:=argo.atlantide.net;opts:=rw,soft,intr,vers=3,proto=tcp bt rfs:=/home/export/bt just22 rfs:=/home/export/just22 but nothing changes. Of course, NFSv2 works properly only for files smaller than 2GB, so this is becoming a showstopper for this setup. Info on the net are very sparse: I found [1] and [2], but the proposed solutions didn't work for me (in particular, I didn't succeed with "type:=host" - if this is the right way, please give me some further details on the correct setup to use); reading the amd's documentation didn't help either (the manual repeatedly says that the automounter should defaults to NFSv3, so I'm a bit lost...) What's wrong with my configuration? Any hints? Thanks in advance for your help. All the best [1] http://serverfault.com/questions/335061/openbsd-configuration-client-unable-to-mount-via-nfs-using-berkeley-automounter [2] http://www.openbsdsupport.org/sharedhomes.html -- Alessandro DE LAURENZIS [mailto:[email protected]] LinkedIn: http://it.linkedin.com/in/delaurenzis

