NFS Mount Permission Denied

Tim Holmes tholmes at mcaschool.net
Mon Apr 18 16:27:58 UTC 2005


> 
> On Mon, 2005-04-18 at 08:08 -0400, Tim Holmes wrote:
> > > On Fri, Apr 15, 2005 at 12:50:54PM -0400, Tim Holmes wrote:
> > > > Good afternoon
> > > >
> > > > I was just setting up one of my servers, and ran into a
perplexing
> > > > problem.
> > > >
> > > > I edited my /etc/fstab file and added my new mounts ie:
> > > >
> > > > Srvfs-01:/home		/home			nfs
> > hard,intr
> > > >
> > > >
> > > > Then restarted the nfs service
> > > nfs service needs to run only on the server not the client.
> > > >
> 
> fstab does not affect nfs.  Only mounting volumes.
> 
> > > When I type
> > > >
> > > > mount srvfs-01:/home
> > > >
> > > > I get mount failed, reason returned by server -- permission
denied
> > > The mount above should be mount /home.
> > > >
> > > >
> > > > I am logged in as root on the box im working on, and im just not
> > sure
> > > > where to begin trouble shooting this one
> > > >
> > > > Any insights would be appreciated
> > > >
> > > > TIM
> > [Tim Holmes wrote]
> > Good Morning Folks
> >
> > I tried the above suggestions, as far as the mount command syntax,
and
> > it still returns the same error --  here is the session transcript
> >
> > login as: root
> > root at 192.168.0.19's password:
> > Last login: Thu Apr 14 13:53:56 2005 from mod3teacher.mcaschool.net
> > [root at SRVDB-01 root]# mount /home
> > mount: srvfs-01:/home failed, reason given by server: Permission
denied
> > [root at SRVDB-01 root]#
> >
> >
> > I hate to admit to confusion, but I am totally lost on this one.
> >
> > TIM
> 
> NFS requires setup from both ends.  You said you edited the fstab on
the
> client, but did you do the server end?
> 
> The /etc/exports file on the server must have a line allowing the
client
> to mount the exported volume
> 
> It should have a line similar to this
> 	/home	<client IP>(options)
> 
> Since you say this is a new client setup, have you verified the server
> is exporting the volume to that client?  If you edit /etc/exports you
> will need to restart nfs on the server.
> 
[Tim Holmes wrote] 
The /etc/exports does indeed have that type of line in it and is
successfully exporting it to other clients.

I have tried restarting the NFS services, and it makes no difference

TIM





More information about the users mailing list