Unable to mount via NFS
Two RH computers. Server is 69.69.1.76. Client is 69.69.1.77. Command to mount is:
Code:
mount -t nfs 69.69.1.76:/demos/rundir /mnt/mondo_rundir Can anyone give me any ideas? Here is the rpcinfo query from the client: rpcinfo -p 69.69.1.76 program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 32768 status 100024 1 tcp 32768 status 391002 2 tcp 32769 sgi_fam 100011 1 udp 617 rquotad 100011 2 udp 617 rquotad 100011 1 tcp 620 rquotad 100011 2 tcp 620 rquotad 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100021 1 udp 32774 nlockmgr 100021 3 udp 32774 nlockmgr 100021 4 udp 32774 nlockmgr 100005 1 udp 4003 mountd 100005 1 tcp 4003 mountd 100005 2 udp 4003 mountd 100005 2 tcp 4003 mountd 100005 3 udp 4003 mountd 100005 3 tcp 4003 mountd iptables file on the server: # Firewall configuration written by lokkit # Manual customization of this file is not recommended. # Note: ifup-post will punch the current nameservers through the # firewall; such entries will *not* be listed here. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Lokkit-0-50-INPUT - [0:0] -A INPUT -j RH-Lokkit-0-50-INPUT -A FORWARD -j RH-Lokkit-0-50-INPUT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --syn -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 23 --syn -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 139 --syn -j ACCEPT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 137:138 -j ACCEPT -A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 0:1023 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 2049 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 0:1023 -j REJECT -A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 2049 -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 6000:6009 --syn -j REJECT -A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 7100 --syn -j REJECT COMMIT Exports file on server: /demos/rundir 69.69.1.77(ro) hosts.allow on server: # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. portmap: 69.69.1.0/255.255.255.0 lockd: 69.69.1.0/255.255.255.0 rquotad: 69.69.1.0/255.255.255.0 mountd: 69.69.1.0/255.255.255.0 statd: 69.69.1.0/255.255.255.0 hosts.deny on server: # # hosts.deny This file describes the names of the hosts which are # *not* allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # # The portmap line is redundant, but it is left to remind you that # the new secure portmap uses hosts.deny and hosts.allow. In particular # you should know that NFS uses portmap! portmap: ALL mountd: ALL lockd: ALL rquotad: ALL statd: ALL /etc/sysconfig/nfs file: STATD_PORT=4001 LOCKD_TCPPORT=4002 LOCKD_UDPPORT=4002 MOUNTD_PORT=4003 I'd really appreciate some help if anyone had any suggestion as to why this isn't working. TIA Caleb |
Just a wild guess (I'm not familiar with RH), but did you give permissions on the server to mount nfs with the /etc/exports file?
|
How do you mean? the /rundir folder is set to drwxrwxrwx. exports file is -rw-r--r--
Or had you something else in mind? Thanks Caleb ps. what I'm trying to do is mount this folder on the client box which is running Apache so that I can call pages from it through a webserver. I don't have Apache (and don't want it) on the [nfs] server box. |
Bump: Still stuck, would really like to get this going.
Thanks. |
All times are GMT -5. The time now is 01:46 AM. |