免费注册 查看新帖 |

Chinaunix

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

[服务应用] ubuntu12.04挂载网络文件夹,不能挂载成读写 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-11-27 17:31 |只看该作者 |倒序浏览

我需要挂载网络上的文件夹,此文件夹已经设置成了共享。但是,此文件夹能够挂载成只读,但是无法挂载成读写。

宿主机:win7旗舰版
虚拟机软件:wmware 9.0.2
linux:ubuntu 12.04

挂载命令如下:
# mount //192.168.1.132/s5pv210files /work/windowsfile -o username=name,password=mima,dmask=777,fmask=777
输入以上的mount命令之后显示:
mount: wrong fs type, bad option, bad superblock on //192.168.1.132/s5pv210files,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       系统日志中可能有一些重要的信息,
       试试用 dmesg | tail 之类的命令查看。

查看日志文件显示:
命令: #dmesg | tail
[  511.342171] CIFS: Unknown mount option "dmask=777"

删去中间的dmask=777之后运行mount命令,显示如下:
# mount //192.168.1.132/s5pv210files /work/windowsfile -o username=name,password=mima,fmask=777
mount: wrong fs type, bad option, bad superblock on //192.168.1.132/s5pv210files,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       系统日志中可能有一些重要的信息,
       试试用 dmesg | tail 之类的命令查看。
查看日志文件,显示:
输入命令: #dmesg | tail
[  655.120209] CIFS: Unknown mount option "fmask=777"

然后再删除后面的fmask=777
# mount //192.168.1.132/s5pv210files /work/windowsfile -o username=hujh,password=19871005
则可以挂载成功,但是此时的属性为只读。

请问这是什么原因引起的,如何解决?要设置哪些东西才能将文件夹挂载成读写?
请知道的不吝赐教,谢谢!


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP