*BSD News Article 96052


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!nntp.uio.no!newsfeed.nacamar.de!fu-berlin.de!informatik.tu-muenchen.de!lrz-muenchen.de!isar.de!photogrammetrie.de!newsmaster
From: mehldau@photogrammetrie.de (Gerhard Mehldau)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Mounting NFS file systems.
Date: 23 May 1997 05:27:32 GMT
Organization: Photogrammetrie GmbH
Lines: 35
Message-ID: <5m39s4$9dq@muenchen.photogrammetrie.de>
References: <Pine.BSI.3.95.970521213458.7218A-100000@gold.interlog.com>
NNTP-Posting-Host: muenchen.photogrammetrie.de
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41520

Ean Kingston (ean@gold.interlog.com) wrote:
: Well, I got the ppp auto dialer working (thanks again Brian).  Now, I
: can't get the NFS to mount at boot time.  It works if I type it
: manually:

: # mount_nfs <host>:/<directory> /<mount point>

: but not if I put it in the fstab file (which is where I think it should
: go based on the mount_nfs and fstab man pages).  I have the following as
: the last line in my fstab file: 

: <host>:/home.1   /h1   nfs   rw   1   2

: any ideas what is wrong or more likely what I have missed?

I've had the same problem recently.  It turned out that I had
configured the resolver (/etc/resolv.conf) to use the name
server on this same host for name lookups.  At boot time, the
NFS-mount is attempted before the name server is running.

So, there are two ways to resolve the problem (pun intended);

1) use another name server that is available at boot time, or
2) move the NFS-mount to a later place in the startup process
   (I put it in /etc/rc.local).

Hope this helps,

Gerhard

---------------------------------------------------------------------------
    Gerhard Mehldau            http://www.photogrammetrie.de
    Photogrammetrie GmbH       mailto:mehldau@photogrammetrie.de
    Anzinger Str. 5            phone: +49 (89) 43 69 2-1 64
    81671 Munich, Germany      fax:   +49 (89) 43 69 2-1 00