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

Notices


Reply
  Search this Thread
Old 02-04-2013, 10:23 PM   #1
holdencaulfield
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:
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.
 
Old 02-05-2013, 07:09 AM   #2
linosaurusroot
Member
 
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 255.255.0.0 ?
Have you run "exportfs -a" or rebooted since writing /etc/exports?
What does "showmount -e bsdservername" say?
 
  


Reply


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

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 01:59 AM.

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