Date: Thu, 25 Apr 2002 18:53:40 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Danny Howard <dannyman@toldme.com> Cc: questions@FreeBSD.ORG Subject: Re: How to tell amd to use TCP NFS? Message-ID: <20020425235340.GA37329@dan.emsphone.com> In-Reply-To: <20020425163859.R13388@pianosa.catch22.org> References: <20020425163859.R13388@pianosa.catch22.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 25), Danny Howard said: > So, I can't get amd quite working on FreeBSD 5.0. Reducing the problem, > I've found that I can get mount to work as long as I mount_nfs -T, > meaning use TCP. UDP times out. > > But I can not find anywhere to tell amd or amd.conf to do this when > running auto-mounter. So, how do I do it? In your map, add a proto=tcp keyword for whatever host you want to force UDP with. I use the following map: # Mapfile for /net. Requests for "localhost" and the local machine # create symlinks to /; all other requests become NFS mounts. # # $Id: amd.net,v 1.4 2001/04/26 15:40:39 dan Exp $ * host==${key};type:=link;fs:=/ \ hostd==${key};type:=link;fs:=/ \ type:=host;fs:=${autodir}/${rhost};rhost:=${key};opts:=rw,intr,soft,proto=udp localhost type:=link;fs:=/ > For the record, I see these sorts of errors when I try to automount > something in my NIS map: > > Apr 25 16:22:03 dyn-27-144 amd[321]/user: key djh: No value component in "eng1-fs:/fs/eng1/home/&" > Apr 25 16:22:03 dyn-27-144 amd[321]/user: No fs type specified (key = "djh", map = "auto.home") Looks like typos to me. amd's map syntax is very difficult to get right. -- Dan Nelson dnelson@allantgroup.com 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?20020425235340.GA37329>