免费注册 查看新帖 |

Chinaunix

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

reason given by server: Permission denied [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-11-02 10:58 |只看该作者 |倒序浏览
nfs服务器的配置

[root@localhost ~]# cat /etc/exports
/nfs/shared      *(rw,no_root_squash)
/nfs/upload      192.168.0.0/24(rw,all_squash,anonuid=210,anongid=210)
/home/tom        192.168.0.32(rw)

/etc/hosts 文件没有修改

客户端  ip192.168.0.32

[root@nfs etc]# showmount  -e 192.168.0.17
Export list for 192.168.0.17:
/nfs/shared *
/home/tom   192.168.0.32
/nfs/upload 192.168.0.0/24

[root@nfs etc]# mount  -t nfs 192.168.0.17:/nfs/shared/ /shared/
mount: 192.168.0.17:/nfs/shared/ failed, reason given by server: Permission denied

防火墙和 selinux都关闭了

求救啊

论坛徽章:
0
2 [报告]
发表于 2010-11-03 10:08 |只看该作者
挂载的时候加选项 -o ro

论坛徽章:
0
3 [报告]
发表于 2010-11-03 10:20 |只看该作者
/nfs/shared 本身权限   貌似也会限制吧   chmod  755 /nfs/shared 试试~~

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-07-11 22:20:00
4 [报告]
发表于 2010-11-03 10:27 |只看该作者
在服务器端和客户端都执行下面命令,给输出
  1. # iptables -L
  2. # getenforce
  3. # /etc/init.d/nfs status
  4. # /etc/init.d/portmap status
复制代码

论坛徽章:
0
5 [报告]
发表于 2010-11-03 14:40 |只看该作者
既然拒绝,就找权限问题...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP