LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot mount nfs-common (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-mount-nfs-common-4175423567/)

rldavies 08-23-2012 05:06 AM

Cannot mount nfs-common
 
I am try to mount nfs-common on a client. The command line i am using is:
sudo mount 192.168.1.1:/shared_file /server_shares but i keep getting this reply. mount.nfs: mount system call failed
I have checked that the file is correct on the server and the IP address is corect.
I am very new to Linux so could be doing something really silly.

eSelix 08-23-2012 05:45 AM

By "/shared_file" path you mean a directory name or regular file? It should be directory. Check your firewall settings and export permissions. Check on client "showmount -e 192.168.1.1" if this directory is exported. Show you export list from the server and specify which version you use. Check also logs on server and client, maybe there are more information about unsuccessfull mount.

rldavies 08-23-2012 06:30 AM

Cannot mount NFS-common
 
Many thanks. I after 3 tries of starting from scratch and checking all the configurations and restarting It has worked! Not sure but I think I messed up the export file. I did say I was very new to this.


All times are GMT -5. The time now is 07:26 PM.