Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 11:42:34 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Arjan van der Oest <arjan.van.der.oest@worldmax.nl>
Subject:   Re: [7.1-RELEASE-p2 amd64] NFS mount in fstab hangs during mountcritremote execution
Message-ID:  <200901301142.34624.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <FC5FF0B613540249959195342B6D034C754813@worldmax-sbs01.Worldmax.local>
References:  <FC5FF0B613540249959195342B6D034C754785@worldmax-sbs01.Worldmax.local> <200901291308.47418.fbsd.questions@rachie.is-a-geek.net> <FC5FF0B613540249959195342B6D034C754813@worldmax-sbs01.Worldmax.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 30 January 2009 04:36:04 Arjan van der Oest wrote:
> Mel wrote:
> >> - why does the system tries to mount the nfs filesystem from the
>
> fstab
>
> >> while nfs_client_enable has been set to no in rc.conf?
> >
> >Because there is no relation between the two. You could be using a 3rd
> >party nfs kernel module.
>
> Yes, but I am not. I'm using the default kernel option which I believe
> is enabled with the mentioned rc.conf switch, or am I wrong here?

Yes, but why should mount(8) check /etc/rc.conf? The relation is reverse, 
rc(8) should give services the right(tm) arguments.

> >> And more bizarre: when interrupting the
> >> mountcritremote script the share has been actually mounted, so it
>

> Also what puzzles me is the fact that a new identical setup box has no
> problem. As I wrote earlier the only difference is that I did not select
> the 'enable nfs client' from the sysinstall this time. I have not used
> any of the mentioned flags on the second box too, so why does it work on
> that machine?

Does this one also have a link UP message after nfs mounting? If not, then 
there's your culprit: network isn't up at mountcritremote time. You should 
mark it 'late' in fstab.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



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