LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Access Denied NFS (https://www.linuxquestions.org/questions/%2Absd-17/access-denied-nfs-4175448630/)

holdencaulfield 02-04-2013 10:23 PM

Access Denied NFS
 
I'm having trouble mounting a filesystem over NFS on OpenBSD 5.2 (server) and Gentoo Linux (client). The line that repeatedly comes up when trying to mount is:
Code:

mount.nfs: access denied by server while mounting homeserver:/home/nfs
The IP address for homeserver is defined in /etc/hosts on the client. I have no idea where my /etc/exports on the server would be misconfigured:
Code:

#      $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
#
# NFS exports Database
# See exports(5) for more information.  Be very careful:  misconfiguration
# of this file can result in your filesystems being readable by the world.

/home/nfs -alldirs -mapall=nfs -network=192.168.0.0 -mask=255.255.255.0

The server is running portmap, mountd and nfsd as it should be, and the client has NFS support compiled into the kernel and is running rpcbind. I've got it to work before, but it doesn't seem to be working today. Any help would be much appreciated.

linosaurusroot 02-05-2013 07:09 AM

Are you sure the mask isn't 255.255.0.0 ?
Have you run "exportfs -a" or rebooted since writing /etc/exports?
What does "showmount -e bsdservername" say?


All times are GMT -5. The time now is 06:50 AM.