Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 14:38:07 -0400
From:      Michael Sinz <msinz@wgate.com>
To:        Attila Nagy <bra@fsn.hu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: NFS local mount
Message-ID:  <3B57290F.15C009A5@wgate.com>
References:  <20010719155719.N45187-100000@scribble.fsn.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Attila Nagy wrote:
> 
> Hello,
> 
> I am currently installing a machine on which I want to replace the NULL
> and/or UNIONFS mounts with NFS. NFS server and client on the same machine,
> to be exact, for jailing purposes (this seems to be the most stable).
> 
> The problem is, that at the FreeBSD boot process the NFS filesystems are
> mounted before the NFS-related daemons are started, so I can't do this in
> a clean way (from /etc/fstab).
> 
> Are there any objections to swap those two? I mean starting the NFS server
> and after that mounting the NFS filesystems?

That would be nice since I have a problem here at WorldGate where a number
of machines mount drives from eachother.  If only one of them goes down at
a time things are fine, but after a power outage they all block trying to
mount each other and thus never start up the NFS server such that they can
mount each other.

My "solution" has been to have the NFS mounts happen as a background 
process and thus letting the rest of the network startup run and thus
getting to start the NFS servers which then answer these background
NFS mount requests.

I had been meaning to ask if there was a reason why NFS mounts happened
before NFS servers were started but life kept getting in the way :-)

-- 
Michael Sinz ---- Worldgate Communications ---- msinz@wgate.com
A master's secrets are only as good as
	the master's ability to explain them to others.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B57290F.15C009A5>