请教:nfs,已设置rw=host,写操作时仍提示Permission denied

weixin_38058428 2006-07-29 09:51:11

nfs,已设置rw=host,但mkdir时仍提示Permission denied
nfs server中/etc/hosts已经添加了客户端主机名。
没有找到原因,请兄弟们告知。谢谢!


具体配置如下:

nfs server:

bash-2.03# 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 "<text>"] <pathname> [resource]
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
share -F nfs -o rw=mail /mail/maillog/mmplog

bash-2.03# showmount -e
export list for nfs_server:
/mail/maillog/mmplog mail

bash-2.03# dfshares
RESOURCE                                  SERVER ACCESS    TRANSPORT
nfs_server:/mail/maillog/mmplog nsf_server  -         -复制代码

nfs client:

bash-2.03# mount -F nfs nfs_server:/mail/maillog/mmplog /mnt/maillog/mail/mmp/
bash-2.03# df -k|grep nfs_server
nfs_server:/mail/maillog/mmplog       70314482 34539444 35071894    50%    /mnt/maillog/mail/mmp
bash-2.03# mkdir /mnt/maillog/mail/mmp/testdir
mkdir: Failed to make directory "/mnt/maillog/mail/mmp/test"; Permission denied
复制代码 [ 本帖最后由 fluke888 于 2006-7-29 21:53 编辑 ]
...全文
48 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧