From owner-freebsd-bugs Wed Oct 23 00:46:09 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03555 for bugs-outgoing; Wed, 23 Oct 1996 00:46:09 -0700 (PDT) Received: from spinner.DIALix.COM (root@spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA03546; Wed, 23 Oct 1996 00:45:59 -0700 (PDT) Received: from spinner.DIALix.COM (peter@localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.8.0/8.8.0) with ESMTP id PAA21759; Wed, 23 Oct 1996 15:45:24 +0800 (WST) Message-Id: <199610230745.PAA21759@spinner.DIALix.COM> X-Mailer: exmh version 1.6.9 8/22/96 To: Heikki Suonsivu cc: Poul-Henning Kamp , "Marc G. Fournier" , freebsd-bugs@freefall.freebsd.org Subject: Re: bin/926 In-reply-to: Your message of "Wed, 23 Oct 1996 09:48:53 +0300." <199610230648.JAA19608@katiska.clinet.fi> Date: Wed, 23 Oct 1996 15:45:23 +0800 From: Peter Wemm Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Heikki Suonsivu wrote: > > It is ancient wisdom that you mount soft+background in that scenario, > > or wait forever after a power-failure :-) > > Starting mountd before mounting nfs disks corrects this problem and as far > as I know does not have any disadvantages. > > bg mounts won't help, as daemons started in /etc/rc.local might need the > disks (apache, for example, fails to start if it cannot find log files to > write to, or document root is missing). It is possible to kludge around > this but it would be better to fix it, particularly when it is this easy > and does not effect anyone who is not doing cross-mounting (other than nfs > comes up slightly faster after a crash/reboot, which is a plus). Well, unless there's dissent in the ranks, I'll change it to do this. I'd like cross mounting to work reliably myself.. :-) After all, mountd is in /sbin. Hmm, no wait. Doesn't mountd need to do gethostbyname when parsing the /etc/exports file? If so, then it cannot come before named or other name services.... Unless all the hosts in /etc/exports are listed in /etc/hosts, or /etc/resolv.conf points to another machine that is currently up.. Hmm.... Say, that reminds me... This happened in a spectacular way at one of the local universities while I was studying.. They managed to get about 10 or 15 SGI's (way back at IRIX 3.something) deadlocked on cross mounting for quite some time.. Cheers, -Peter