LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-30-2005, 11:25 AM   #1
goldkanal
LQ Newbie
 
Registered: Jan 2005
Location: Germany
Posts: 3

Rep: Reputation: 0
problem mounting NFS


I've set up a new server running with Debian Sarge (I know, it's experimental, but I needed Samba 3 and some other newer packages) and tried to configure an user-space NFS server. All components are already installed.

So here are my server's /etc/exports:
Code:
/daten/user     *(rw,no_root_squash,insecure)
The server's IP is 192.168.0.12, the client's one (at least the IP of my administrative test client) is 192.168.0.3.


If i try to mount it with
Code:
mount -t nfs 192.168.0.12:/daten/user /mnt/test
the following message occurs:
Code:
mount: 192.168.0.12:/daten/user failed, reason given by server: Permission denied.
On the server, /var/log/syslog shows an equivalent message (that the access attempt was unauthorized and therefore blocked).


If I change the server's /etc/exports to:
Code:
/daten/user     192.168.0.*(rw,no_root_squash,insecure)
or
Code:
/daten/user     192.168.0.0/24(rw,no_root_squash,insecure)
it doesn't work anyway.


But, if I change /etc/exports to
Code:
/daten/user     192.168.0.3(rw,no_root_squash,insecure)
mounting the export from the PC mentioned above (192.168.0.3) works fine.


But that's not a solution since there are several PCs requiring the ability to mount that NFS export.

Does anyone of you have an idea?

Thanks,
Holger
 
Old 01-30-2005, 12:56 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Did you reload the exports? Try running this on the server then try again:
exportfs -ra

There is a good nfs howto here:
http://nfs.sourceforge.net/nfs-howto/
 
Old 01-30-2005, 01:07 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
That is confusing. Do you have a firewall setup on the server? Wouldn't think so if the last one worked. Just a thought

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
  


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
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
nfs mounting problem Frustin AIX 5 02-04-2005 11:29 AM
problem mounting NFS goldkanal Linux - Networking 3 01-30-2005 12:56 PM
Mounting NFS Problem Help!! Sabeer Linux - Networking 4 05-20-2003 11:45 PM
NFS mounting problem joeljensen Linux - Networking 2 02-07-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:01 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