Re: NFS mount problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



You need to edit the ports in /etc/sysconfig/nfs to make them static before enabling IPTABLES.  Once that is done you need to open not only those ports but also tcp:udp 111 and tcp:udp 2049.

On Mon, Apr 26, 2010 at 7:59 AM, kalinix <calin.kalinix.cosma@xxxxxxxxx> wrote:
On Mon, 2010-04-26 at 18:37 +0800, sync wrote:
The contents of  /etc/exports on the server is the following :

/home/test   192.168.7.67(rw)

Is there anything error ?



Not very familiar with virtual box (I prefer vmware or kvm) but shouldn't you export to your vboxnet0 ip, which I presume is either 192.168.56.1 or 192.168.56.2?


Also, your iptables rule on the virtual machine is right now:



iptables -A INPUT  -i eth0  tcp -s 192.168.7.67  --dport 111 -j ACCEPT

and I think it should be

iptables -A INPUT  -i eth0  tcp -s 192.168.56.X  --dport 111 -j ACCEPT


where 192.168.56.X is your vboxnet0 ip.


But again, I am not familiar with VirtualBox and it might have settings different than vmware or kvm.


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=================================================
As he had feared, his orders had been forgotten and everyone had brought the potato salad.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux