NFS filesystems not mounting at boot - can mount manually

chuck lawrence celawrence at lbl.gov
Wed Nov 29 19:31:41 UTC 2006


redhat-install-list-request at redhat.com wrote:

> On Mon, 2006-11-27 at 22:06 -0500, Thomas B. Walter wrote:
>> On Mon, 27 Nov 2006, Rick Stevens wrote:

> The "no route to host" is the telling issue.  It appears that there is
> some oddball routing that's not occurring when the NFS client comes up.
> It sees everest right away, but not yoda.  That's what you probably
> should investigate first.

you also mention that yoda is in /etc/hosts.  is it also in your nis 
hosts map?  if so, are the two entries both correct?  possibly the local 
one is wrong, and you're able to mount when the correct(?) entry is 
available via nis.  just a thought.  you might want to look at your 
/etc/nsswitch.conf file.

> However, there's something you can try that may bypass fixing the
> routing.  You can try changing the "bg" for yoda-based mounts in
> /etc/fstab to "fg" and see if that helps:
> 
> 	yoda:/data/yoda/a    /data/yoda/a         nfs     soft,fg 0 0
> 	yoda:/data/yoda/b    /data/yoda/b         nfs     soft,fg 0 0
> 
> That will retry the mounts in the foreground if they fail and it may
> force the routing to occur in a more timely manner.  This is only an
> attempt to bypass whatever weirdness is going on with the routing.  You
> really do need to fix the network issue.

agreed.  you could also bypass by doing a mount in /etc/rc.local, or 
somewhere similar, as this is sourced just before login.  you are then 
effectively doing a manual mount automatically.


-- 

  * ------------------- * ----------------------------*
  | charles e. lawrence | lawrence berkeley nat'l lab |
  | celawrence at lbl.gov  | #1 cyclotron rd  ms 50a6134 |
  | (510) 486-4682      | berkeley  ca  94720         |
  * ------------------- * ----------------------------*

              www-eng.lbl.gov/~celawrence




More information about the Redhat-install-list mailing list