[CentOS] NFS mount problem

Jason Brown jasonbrown17 at gmail.com
Mon Apr 26 16:46:35 UTC 2010


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 at gmail.com>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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100426/d0a8db0c/attachment.html>


More information about the CentOS mailing list