Date: Thu, 26 May 2005 19:59:34 -0500 (CDT) From: "Viren Patel" <virenp@mail.utexas.edu> To: "Kris Kennaway" <kris@obsecurity.org> Cc: freebsd-questions@freebsd.org Subject: Re: NFS broken after upgrading to 5.4 Message-ID: <1073.66.25.129.27.1117155574.squirrel@mail.cm.utexas.edu> In-Reply-To: <20050526154133.GA38205@xor.obsecurity.org> References: <1282.66.25.129.27.1117067480.squirrel@mail.cm.utexas.edu> <20050526010713.GA92954@xor.obsecurity.org> <1475.66.25.129.27.1117071597.squirrel@mail.cm.utexas.edu> <20050526014526.GA7378@xor.obsecurity.org> <1144.66.25.129.27.1117111793.squirrel@mail.cm.utexas.edu> <20050526154133.GA38205@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Thu, May 26, 2005 at 07:49:53AM -0500, Viren Patel > wrote: >> > >> > What does ^T show for the status of the 'hung' >> process? >> > Are you >> > certain that DNS resolution is working correctly on >> both >> > machines? >> > >> > Kris >> > >> > >> >> Thanks for your help. Interestingly when I tried the >> mounts this morning they all worked, so I can't provide >> ^T >> output. Go figure. >> >> Since my clients and the server are communicating over a >> private LAN, they don't use DNS. However >> /etc/nsswitch.conf contains: >> >> hosts: files dns >> >> and in /etc/hosts I have: >> >> 127.0.0.1 localhost >> 192.168.0.10 backuphost >> >> The problem occurred whether I used IP or hostname. I've >> also noticed that mount_nfs tended to succeed if >> preceded >> by a ping to the backuphost. I rebooted a client and >> tried >> mounting without ping and it worked just fine. It's all >> behaving really flakily. Basically it amounts to >> sometimes >> it works and sometimes it doesn't and there doesn't seem >> to be a pattern. > > Are you sure they're not using DNS? i.e. will DNS queries > to those > hostnames resolve? Have you observed the data traffic > using tcpdump > to confirm no DNS lookups? > > Kris > > I am not sure why the client would try to use DNS to resolve backuphost if I've specified it in /etc/hosts and /etc/nsswitch.conf specifically says to look at the files first. I haven't done a tcpdump but I will try that and report back. Viren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1073.66.25.129.27.1117155574.squirrel>