Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 00:10:05 -0700 (PDT)
From:      Harti Brandt <brandt@fokus.gmd.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/22308: mounting NFS during boot blocks if host map comes from NIS
Message-ID:  <200010270710.AAA77283@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/22308; it has been noted by GNATS.

From: Harti Brandt <brandt@fokus.gmd.de>
To: Dima Dorfman <dima@unixfreak.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/22308: mounting NFS during boot blocks if host map comes
 from NIS
Date: Fri, 27 Oct 2000 09:07:21 +0200 (CEST)

 On Thu, 26 Oct 2000, Dima Dorfman wrote:
 
 > You may also want to try adding 'bg' to the mount options in fstab.
 > This will cause the mount_nfs process to fork off and keep trying to
 > mount the filesystem if it can't do it right away.  The obvious
 > drawback is that your system may come up in multiuser without the
 > filesystem mounted if your NIS server is a little slow.
 
 Well, I did this, but it doesn't help. Somehow the way changed how the
 hostnames are retreived via NIS. With host.conf I also had NIS first and
 then DNS, but everything was fine. Now NIS blocks *VERY* long.
 
 > 
 > Furthermore, depending on your situation, you may want to look into
 > using amd(8).
 
 Oh, our infrastructure here is on Solaris and they have automount maps. I
 would like to use them, but no way. I tried to convert them automatically
 to amd maps - doesn't work (they use variables). I tried to figure out how
 to configure amd handish - I gave up after two days. But, I thought that
 my set-up should be rather usual.
 
 > ypbind is on /usr; what if /usr is an imported filesystem?
 
 I see. So obviously NIS lookup shouldn't block for too long when NIS is
 down! I'm by no means an expert, but isn't it possible to find out whether
 NIS is up *before* trying to use it in gethostbyname()?
 
 Regards,
 harti
 -- 
 harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
               brandt@fokus.gmd.de, harti@begemot.org, lhbrandt@mail.ru
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010270710.AAA77283>