LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS not working (http://www.linuxquestions.org/questions/linux-networking-3/nfs-not-working-641185/)

methodtwo 05-09-2008 08:01 PM

NFS not working
 
I'm using gentoo.I've just installed nfs-utils on my nfs client machine and on the nfs server machine, compiled i believe the necessary stuff in the ker nel for the server and client machines, but nfs is still not working. i get this error:
Code:

#mount xxx.xxx.xxx.xxx::/home/me /home/me/nfs
mount: mount to NFS server 'xxx.xxx.xxx.xxx' failed: RPC Error: program not registered.

I have all the necessary info in /etc/hosts and i also have the I.P address of the client along with the client daemons in /etc/hosts.allow.
Oh and i have port fowarding in my router for tcp port 2049
Please could anyone post me a method for how to check if i have all the necessary packages installed on both the client and server machines?.Any help would be great
Here are the excerts from the .config file for both the client and the server. The server's is
Code:

matt@novaexpress /usr/src/linux $ grep NFS .config
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
# CONFIG_NFS_V4 is not set
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y

and the clients is:
Code:

softmachine linux # grep NFS .config
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_COMMON=y

Thankx for any help and replies

billymayday 05-09-2008 08:26 PM

Have you exported the volumes you want to mount remotely? See /etc/exports on the server

methodtwo 05-09-2008 08:57 PM

Yes i have exported the files via /etc/exports

billymayday 05-09-2008 11:20 PM

Did you see http://www.linuxquestions.org/questi...stered-368884/

Basically it suggests restarting the nfs services

I also think you need portmap installed


All times are GMT -5. The time now is 11:10 AM.