Quote:
This the /etc/exports file on my server. I used The exact IP to see if i could get it to work. I have called the share nfsshare of /
/nfsshare 192.168.0.5/255.255.255.0(ro,no_root_squash)
|
Try this instead just as a basic setting if you want read-only for the share:
/nfsshare 192.168.0.5(ro)
That should default it to read-only and also test it without specifiying the no_root_squash
Quote:
Here is the /etc/fstab file on the client linux200. i created the /mnt/nfs directory
linux620:/nfsshare /mnt/nfs nfs rsize=8192,wsize=8192 0 0
|
Try this instead as you don't need the two 0 0 at the end:
linux620:/nfsshare /mnt/nfs nfs rsize=8192,wsize=8192,timeo=14
Also check your permissions on the share you have, make sure the world has at least read access if your only wanting to make it read-only.
Then just restart the nfsd daemons on the server as root with:
nfsd restart (you might have to put the full path like /etc/rc.d/nfsd restart for example to where ever your nfsd script is stored) and then on the client as root just perform a
mount -a to see if it mounts the share with no errors. This just keeps you from having to reboot after every change which is unecessary.
Also a side note, when you do a lsmod, it won't show the nfsd cause your specifying to lists modules, nfsd is a daemon..
Let us know if this works !