免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: m@qintoshi
打印 上一主题 下一主题

奇怪的NFS挂载权限,居然连ROOT用户都无法写入? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2010-05-17 10:07 |只看该作者
server共享时指定root参数。如下:
       share -F nfs -o rw=hostname,root=hostname /sharedir
以上是我之前解决NFS不能写入时用的方法。
rusty_rui 发表于 2010-05-16 00:05


非常感謝,不過我的情況是即使是client端的root也無法寫入。
在svr端rw和root都已經在用了。。。

论坛徽章:
0
12 [报告]
发表于 2010-05-17 10:13 |只看该作者
把A和B的explorer发上来

论坛徽章:
0
13 [报告]
发表于 2010-05-17 14:19 |只看该作者
本帖最后由 m@qintoshi 于 2010-05-17 15:20 编辑
  1. Server: WD_Svr
  2. --------------------------------------------------------------------------------------------------
  3. # pwd
  4. /export/home/WodServer
  5. # ls -lp
  6. total 4
  7. -rwxrwxrwx   1 wod    nobody       174 Nov 25  2008 local.profile
  8. drwxrwxrwx   6 wod    nobody       512 May 17 09:17 Projects/
  9. #
  10. --------------------------------------------------------------------------------------------------
  11. # more /etc/dfs/dfstab

  12. #       Place share(1M) commands here for automatic execution
  13. #       on entering init state 3.
  14. #
  15. #       Issue the command 'svcadm enable network/nfs/server' to
  16. #       run the NFS daemon processes and the share commands, after adding
  17. #       the very first entry to this file.
  18. #
  19. #       share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
  20. #       .e.g,
  21. #       share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
  22. share -F nfs -o rw -d "WD_Svr4wd_clientA" /export/home/WodServer
  23. share -F nfs -o rw -d "wd_data4charie"    /export/home/wd
  24. --------------------------------------------------------------------------------------------------

  25. ********************************************************
  26. ********************************************************

  27. Client: WD_ClientA
  28. ---------------------------------------------------------------------------------------------------
  29. # pwd
  30. /export/server_wd/wdsvr
  31. # ls -lp
  32. total 4
  33. drwxrwxrwx   6 world    nobody       512 May 17 09:17 Projects/
  34. -rwxrwxrwx   1 world    nobody       174 Nov 25  2008 local.profile
  35. ---------------------------------------------------------------------------------------------------

  36. #
  37. # more /etc/vfstab
  38. #device         device          mount           FS      fsck    mount   mount
  39. #to mount       to fsck         point           type    pass    at boot options
  40. #
  41. ... ...
  42. ... ...
  43. /dev/dsk/c0t0d0s7       /dev/rdsk/c0t0d0s7      /export/home    ufs     3       yes     -
  44. /dev/dsk/c0t1d0s3       /dev/rdsk/c0t1d0s3      /export/home2   ufs     3       yes     -

  45. data_guppy:/export/home/data_guppy - /export/guppy/wd_server    nfs - yes rw,bg
  46. WD_Svr:/export/home/WodServer - /export/wd_svr/wdsvr nfs - yes rw,bg
复制代码

论坛徽章:
0
14 [报告]
发表于 2010-05-17 14:55 |只看该作者
無語了。。。 。。剛才就more了下/etc/vfstab ,現在有和出問題前一樣正常了。
迷??暫時留帖。。。 。。。

论坛徽章:
0
15 [报告]
发表于 2010-05-17 22:30 |只看该作者
嗯,有的时候就需要你more一下这样子的神来之笔,相当诡异!

论坛徽章:
0
16 [报告]
发表于 2010-05-18 10:54 |只看该作者
嗯,有的时候就需要你more一下这样子的神来之笔,相当诡异!
maike_xiao 发表于 2010-05-17 23:30


... ...相當的無語。。。 。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP