Image

Imageblindgeek wrote in Imagelinux 😡annoyed

Hi all. I am attempting to set up Nfs on 2 internal machines (192.168.0.254 is the server, 192.168.0.1 is the client). I have the following currently in /etc/exports...Note: I intend on
changing the configuration once I get it working: /home/ftp *(sync,no_root_squash,rw)

The permissions on /etc/exports are the following: root@igueths:~# ls -l /etc/exports
-rwxr-xr-x 1 root root 189 Sep 21 00:38 /etc/exports

And when I attempt to mount that filesystem from the client, I get: root@shadwiga:~# mount 192.168.0.254:/home/ftp /home/ftp
mount: 192.168.0.254:/home/ftp failed, reason given by server: Permission denied

I have compiled NFS server, NFS V2/V3 support as modules in my 2.6.6 kernel. Lsmod is currently showing the following: root@igueths:~# lsmod
Module Size Used by
nfsd 73992 0
exportfs 7552 1 nfsd
lockd 53192 1 nfsd
sunrpc 151556 2 nfsd,lockd

The rest are sound modules, which is why I didn't paste the entire list. One thing I found peculiar though, is that nothing I exported showed up in /proc/fs/nfs/exports, but it would show up
in /var/lib/nfs/etab. Any ideas as to why that might happen? Not to mention that said peculiarity was mentioned in the NFS HOWTO as being a sign of a problem. The other daemons that are
running besides the kernel-level NFS server...I currently have portmap, statd, and mountd as well. Anyone have any ideas as to what I might be missing? I have a friend that has it working,
however on a 2.4.26 kernel. Thanks!