现在的位置: 首页 > 综合 > 正文

Ubuntu 下nfs服务器的配置及mini2440的挂载

2013年10月14日 ⁄ 综合 ⁄ 共 796字 ⁄ 字号 评论关闭

ubuntu下mini2440 NFS挂载(转):http://hi.baidu.com/linuxcfan/blog/item/2c4c7e39723194c8d56225b4.html

 

 

 

按照网上资料说的一步一步来,因为对一些东西不甚了解,所以按着不同作者给出的资料操作导致结果不成功,而且不成功的原因越来越复杂。现在就nfs不成功这块列出几点

:1).nfs的server的ip地址,可以通过ifconfig查看。不应该是WIN7(用的是虚拟机ubuntu)下的ip地址,更有甚者,将ubuntu的eth0改为自认为的合法的ip

 

    2).如果出现"mount.nfs:access denied by server while moungting localhost:/home/tesr /mnt",则需要修改etc/exports的里的localhost(比如改为*)

    3).showmount -e 查看exports的输出内容,如果错误为"cln_creat :RPC program no registerd"则需要修改/etc/hosts.allow中的内容.

    4).可以通过rpcinfo -p localhost的方式查看rpc所开启的服务

 

 http://blog.csdn.net/challen537/article/details/6627564#

 

关于nfs的更多信息,可参见http://www.imhdr.com/archives/ubuntu-server-10-4-configuring-nfs-service-under/

http://os.51cto.com/art/201001/176432.htm

http://blog.sina.com.cn/s/blog_6524fd1f0100r4hm.html

 

下面的问题是,如何设置虚拟机的ip地址,以使虚拟机能上网

抱歉!评论已关闭.