Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 02:23:51 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        <cjclark@alum.mit.edu>, "David Preece" <davep@afterswish.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Failing to mount /usr/obj over NFS
Message-ID:  <007301c08b56$c3e3fa00$1200a8c0@gsicomp.on.ca>
References:  <5.0.0.25.1.20010131184614.01b994f0@pop3.paradise.net.nz> <20010130224950.Q91447@rfx-216-196-73-168.users.reflex>

next in thread | previous in thread | raw e-mail | index | archive | help
> > In practice I can mount /usr/src over NFS with no problem, but cannot
mount
> > /usr/obj:
> > #mount cvs:/usr/src /usr/src
> > #mount cvs:/usr/obj /usr/obj
> > nfs: can't access /usr/obj: Permission denied
> >
> > Despite the fact that I have two identical mounts in /etc/exports:
> > /usr/src        development
> > /usr/obj        development
>
> Are these different filesystems?
>
>   http://www.freebsd.org/FAQ/networking.html#EXPORTS-ERRORS
>
> But that does not really seem like the right error for that
> condition.

You will get the "can't access /usr/obj: Permission denied" on the NFS
client if the NFS server isn't configured properly.

1) Change your /etc/exports to read:

/usr/src /usr/obj development

2) do a kill -1 on mountd on the NFS server
3) try the mount again on the NFS client

Things should work properly then.

--
Matt Emmerton



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007301c08b56$c3e3fa00$1200a8c0>