[arch-general] nfs problem
Hello, I tried to set up a nfs server and a nfs client in my network. I followed the instructions from the arch linux wiki. The server's ip address is 192.168.0.100 and the client's one is 192.168.0.101. I inserted the option --no-notify in /etc/conf.d/nfs-common.conf on the server. Here are the entries of the configuration files. --- On the server --- /etc/export: /home/user/share 192.168.0.101(rw,sync,no_root_squash,no_subtree_check) /etc/hosts.allow: nfsd: 192.168.0.101/255.255.255.255 rpcbind: 192.168.0.101/255.255.255.255 mountd: 192.168.0.101/255.255.255.255 --- On the client --- /etc/hosts.allow: rpcbind: 192.168.0.100/255.255.255.255 If I try to mount the nfs share with the command "mount 192.168.0.100:/home/user/share /home/user/share", I will get the error message "mount.nfs: access denied by server while mounting". The directories /home/user/share on both machines are owned by the user. Maybe someone has an idea? Thanks! Bye Lars
And what if you allow ALL access to the server for the client and to the client for the server ? On 07/17/2010 04:57 PM, Lars Tennstedt wrote:
Hello,
I tried to set up a nfs server and a nfs client in my network. I followed the instructions from the arch linux wiki. The server's ip address is 192.168.0.100 and the client's one is 192.168.0.101. I inserted the option --no-notify in /etc/conf.d/nfs-common.conf on the server. Here are the entries of the configuration files.
--- On the server --- /etc/export: /home/user/share 192.168.0.101(rw,sync,no_root_squash,no_subtree_check) /etc/hosts.allow: nfsd: 192.168.0.101/255.255.255.255 rpcbind: 192.168.0.101/255.255.255.255 mountd: 192.168.0.101/255.255.255.255
--- On the client --- /etc/hosts.allow: rpcbind: 192.168.0.100/255.255.255.255
If I try to mount the nfs share with the command "mount 192.168.0.100:/home/user/share /home/user/share", I will get the error message "mount.nfs: access denied by server while mounting". The directories /home/user/share on both machines are owned by the user.
Maybe someone has an idea?
Thanks!
Bye Lars
participants (2)
-
Lars Tennstedt
-
Xavier