Welcome to the most active Linux Forum on the web.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 02-04-2013, 10:23 PM   #1
LQ Newbie
Registered: Jan 2012
Distribution: CRUX, Gentoo, LFS, OpenBSD
Posts: 16

Rep: Reputation: Disabled
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:
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:
#       $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= -mask=
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.
Old 02-05-2013, 07:09 AM   #2
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NFS access denied by server while mounting Lumify Linux - Server 21 11-17-2013 09:07 AM
[SOLVED] CentOS - NFS - Access Denied zer0signal Red Hat 11 10-19-2010 08:15 PM
NFS write access denied on one of two filesystems TomF Linux - Security 2 02-23-2005 08:48 PM
nfs access denied Motown Linux - Networking 1 07-14-2004 12:38 AM
NFS - access denied filsed Linux - Networking 2 03-21-2002 09:56 PM > Forums > Other *NIX Forums > *BSD

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration