Problem with nfs mounting
I have two machines physics1 & physics2 running fedora core 8. I have connected them via ethernet ports. The PINGcommand and also network monitor shows they are connected. In physics1 from nfs server window I have added a folder /root/desktop/tanuj to share. Then used the exportfs command showing files are exported. In /etc/hosts.allow I have added the IP addresses of one another in both machines. From Service-firewall I have allowed nfs. nfs, nfslock, netfs are running. I have stopped iptables. Now when I want to mount the filesystem from physics2 it displays "permission denied".
Plz help me !! Thanks in advance. |
exact error message please. To ask the obvious... sudo mount?
|
Quote:
-C |
Also, I've gotten that error message often when I forgot to actually start the NFS server on the host machine. It's not exactly the most intuitive of error messages.
|
also use
exportfs -v rpcinfo -p to check the nfs server side (run them on the server) |
rpcbind and portmap are running on both the machines. exportfs -v shows the exported directories. also showmount -e command also works. when iptables was running, I had the message for mount command no route to host. when I stopped iptables, the mount command shows permission denied.
plz help me |
Quote:
Are you root when you mount it? -C |
Both the machines are on the root when I want to mount it...should I change the directory permission??? the exact error message mount: 169.254.133.8 failed. Reason given by server: PERMISSION DENIED
plz help |
What are the contents of your /etc/hosts.allow and /etc/hosts.deny files, because it seems like the client computer is on the deny list from the error messages you are getting.
|
In the server, /etc/hosts.allow files I have the entry
rpcbind: 169.254.251.90 locked: 169.254.251.90 rquatad: 169.254.251.90 mountd: 169.254.251.90 statd: 169.254.251.90 169.254.251.90 physics2.domain.com physics2 In the same way IP address of the server is added to the client's /etc/hosts.allow plz help me |
I have a parallel program in mpi directive.how I can run this on two machines??
Plz help me |
Quote:
Also keep in mind that you probably want to add portmap to the /etc/hosts.allow file... How does your /etc/hosts.deny file look like? -C |
All times are GMT -5. The time now is 04:32 PM. |