LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem mounting NFS (https://www.linuxquestions.org/questions/linux-networking-3/problem-mounting-nfs-284094/)

goldkanal 01-30-2005 11:25 AM

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

david_ross 01-30-2005 12:56 PM

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/

Brian1 01-30-2005 01:07 PM

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 "


All times are GMT -5. The time now is 05:51 PM.