[CentOS] NFS mount problem

Tue Apr 27 05:48:01 UTC 2010
sync <jiannma at gmail.com>

On Tue, Apr 27, 2010 at 11:23 AM, Dan Irwin <dan at jackies.com.au> wrote:

>   >  But when I change these message:
>  >  /home/test  192.167.7.67(rw)
>
>  >  The result is not ok ~
>
>  >  So what is the problem with it ?
>
>  Perhaps you need to specify a netmask:
>
> /home/test 192.167.7.67/255.255.255.0(rw)<http://192.167.7.67/255.255.255.0%28rw%29>
>

Haha ~
I solved it just now. And the solution is the following :

1. Modify the /etc/exports file and add these:
/home/test   192.168.56.0/24(rw)
/home/test    192.168.7.0/24(rw)

2. In the host system , then run the following commands:
/etc/init.d/portmap start
mount -t nfs 192.158.56.101:/home/test  /media

And the result is ok ~



>
>
> Appologies in advance for the html post. Bloody outlook.
>
> Regards,
>
> Dan
>
> _______________________________________________
> 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/20100427/29e815b6/attachment-0005.html>