Summary: | [nfs] mounting NFS during boot blocks if host map comes from NIS | ||
---|---|---|---|
Product: | Base System | Reporter: | brandt <brandt> |
Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | 5.0-CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
brandt
2000-10-26 11:10:01 UTC
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. Furthermore, depending on your situation, you may want to look into using amd(8). > Change the order in /etc/rc to mount NFS after doing the ypbind. ypbind is on /usr; what if /usr is an imported filesystem? Regards -- Dima Dorfman <dima@unixfreak.org> Finger dima@unixfreak.org for my public PGP key. "The best way to keep one's word is not to give it." -- Napoleon Bonaparte 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 For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped |