免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1388 | 回复: 0
打印 上一主题 下一主题

solaris下NFS配置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-21 10:08 |只看该作者 |倒序浏览
server端(1.1.6.68)
1) 修改 /etc/dfs/dfstab文件
# more /etc/dfs/dfstab
#       Place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       Issue the command '/etc/init.d/nfs.server start' to run the NFS
#       daemon processes and the share commands, after adding the very
#       first entry to this file.
#
#       share [-F fstype] [ -o options] [-d ""]  [resource]
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
share  -F nfs  -o rw=1.1.1.3        /tmp
2) 启动rpc进程(如果没启动)
#  /etc/rc2.d/S71rpc start
3) 启动server nfs进程
#  /etc/init.d/nfs.server start
4) 检查dfshares是否成功
#  dfshares
RESOURCE                                  SERVER ACCESS    TRANSPORT
   host:/tmp                                      host  -
  
client端(1.1.1.3)
启动client端 nfs进程
#/etc/init.d/nfs.client start
Mount
##mount 1.1.6.68:/tmp /nfs
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
-----------------------------------------------------------------
1.1.6.68:/tmp         2481656  220904 2260752     9%    /nfs
成功。配置中我也遇到过问题,详细请大家看
配置nfs,在client端mount时报RPC: Rpcbind failure - RPC: Timed out
http://bbs.chinaunix.net/viewthread.php?tid=950691&page=1&extra=#pid6949062


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/2005/showart_325584.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP