Results 1 to 3 of 3
I have been trying to set up NFS so that I can backup the home directory on my laptop to my server. I have enabled NFS on my server and ...
- 04-15-2009 #1Just Joined!
- Join Date
- Apr 2008
- Location
- Georgia, US
- Posts
- 53
Trouble with NFS
I have been trying to set up NFS so that I can backup the home directory on my laptop to my server. I have enabled NFS on my server and edited the export file to look like this:
I have also edited my /etc/host.allow file to look like this:Code:/home/Cody 192.168.1.0/255.255.255.0(rw)
When I try to mount the /home/Cody folder on my server to my laptop I get this error thoughCode:portmap: 192.168.1.101 lockd: 192.168.1101 rquotad: 192.168.1.101 mountd: 192.168.1.101 statd: 192.168.1.101
I have done chmod 746 on the directories that I am both trying to mount and mount to. Also suspecting it is my firewall I tried turning it off, and still no luck. I've tried looking up the answer on google, but I had no useful results.Code:[Nick@Cody-Laptop ~]$ sudo mount -t nfs 192.168.1.136:/home/Cody /rdir/Cody mount.nfs: access is denied by server while mounting 192.168.1.136:/home/Cody
- 04-15-2009 #2
on your server, cd to /var/log and try to find where your NFS file logs (if you dont see anything that is obviously nfs, try doing `egrep -i "nfs" /path/to/log` to see if a file might have the nfs log in there. Your log files on your server are going to be the best bet as to why something failed. If everything looks good, check the logs on your client.
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 04-15-2009 #3Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
The user names are different (what actually matters to nfs is the uid though) and your permissions 746 would not allow "other" to open / enter the directory /home/Cody as the execute bit isn't set. You could try chmoding it to 747...
Although it's not what I would recommend. You would be better off matching your laptop user and server user id's and keeping stricter permissions on your home directory.RHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.


Reply With Quote