nfs mount not working

David Curtis dcurtis at uniserve.com
Wed Aug 6 00:37:57 UTC 2008


Donny George wrote:
> hello
> 
> i have been trying to set up an nfs mount on a server and client machines which 
> is running on ubuntu 8.04 32 bit version. I have followed the forums for this
> 
> edited the /etc/exports on server
> 
> |/home/tmp 192.168.1.24 <http://192.168.1.24>(rw,no_root_squash,async)|
> 
> 
> ||
> 
> |and modified the /etc/fstab as
> |
> 
> server.mydomain.com:/files /files nfs rsize=8192,wsize=8192,timeo=14,intr
> 
> 
> restarted all the necessary services and stil, it doesnt allow the client to 
> modify the contents of the mounted folder.
> 
> 
> have i set the permissions right or am i doing it completely wrong. could some 
> one guide me how i cud successfully get this going.
> 
> 
> thnx for the help in advance
> 
> donny
> 
> 
> 
> ||
> 
> |
> |
> 
> 
Donny, I see one thing wrong for sure and possibly a second and maybe a 
third and fourth.

First off, in /etc/fstab your using /files instead of /home/tmp.

Second which fstab did you edit? The server or the client, it's the 
client that wants to mount the servers export. Edit the client's /etc/fstab.

Thirdly a guess here. 192.168.1.24 is your client right? It should be.

And fourthly, you might not be able to resolve 'server.mydomain.com' to 
your server's IP address if you do not have some sort of 
DNS/resolve.conf solution. If this is the case, replace 
server.mydomain.com with your server's IP address in the client's 
/etc/fstab. (simplest solution to this problem)

Hope I got everything. NFS experts?

Dave




More information about the ubuntu-users mailing list