Date: Fri, 8 Sep 2017 08:24:51 -0600 From: Alan Somers <asomers@freebsd.org> To: Aryeh Friedman <aryeh.friedman@gmail.com> Cc: FreeBSD Mailing List <freebsd-hackers@freebsd.org> Subject: Re: Why does rpc.lockd(8) and rpc.stat(8) require a working Internet connection Message-ID: <CAOtMX2inEZp9echBaoBQQY8=wrGhS2vFQ2s3STOW3z6q_hTvYQ@mail.gmail.com> In-Reply-To: <CAGBxaX=7bMrZvssBU7vzA7bb8rk9jV%2Bat2A7v6zUe=1oYTqSOQ@mail.gmail.com> References: <CAGBxaX=7bMrZvssBU7vzA7bb8rk9jV%2Bat2A7v6zUe=1oYTqSOQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 8, 2017 at 3:03 AM, Aryeh Friedman <aryeh.friedman@gmail.com> wrote: > My cable modem was out for a few hours last night and my NFS based *LOCAL* > (same subnet [192.168.11.XXX] and physical LAN) file server started > glitching up on attempting to contact lockd and statd on the server from > the client(s) saying that the service was non-responsive and/or the server > couldn't be found. I attempted to switch over to /etc/hosts based host > resolution to no avail. I also tried switching to purely IP addr based > connections to no avail. Note NIS/YP kept working. > > Several questions: > > 1. How do I make it so I can completely disconnect my LAN from the rest of > the Internet and not have NFS fail like this > > 2. Why does NFS require a live internet connection? > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org My guess would be DNS. If your cable _modem_ (not just connection) was out, and your machines are configured to use the cable modem as their DNS server, and rpc.statd tried to do a reverse DNS lookup of your client's IP address, then that might cause it to hang. Using /etc/hosts was a sensible move. Perhaps you accidentally left out an address? If it happens again you could use tcpdump to see if anything is trying to contact the cable modem's DNS port. -Alan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2inEZp9echBaoBQQY8=wrGhS2vFQ2s3STOW3z6q_hTvYQ>