LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1717|回复: 8

mount -t ntfs-3g //192.168.1.20/test /mnt出错

[复制链接]
发表于 2008-11-29 12:00:08 | 显示全部楼层 |阅读模式
mount -t ntfs-3g //192.168.1.20/test /mnt出错
[root@Dias ~]# mount -t ntfs-3g //192.168.1.20/test /mnt
ntfs-3g: Failed to access volume '//192.168.1.20/test': No such file or directory
Please type '/sbin/mount.ntfs-3g --help' for more information.

[root@Dias ~]# ntfs-3g //192.168.1.20/test /mnt
ntfs-3g: Failed to access volume '//192.168.1.20/test': No such file or directory
Please type 'ntfs-3g --help' for more information.

两种方法都出错,找不到路径,我记得以前这样可以用的。
我又把移动硬盘接了上去
mount -t ntfs-3g /dev/sda1 /mnt 成功的
难道ntfs-3g不能用//ip映射?
发表于 2008-11-29 12:24:01 | 显示全部楼层
通过网络就不需要“-t ntfs-3g”了吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-29 12:46:19 | 显示全部楼层
但网络那边是win2003 NTFS分区里的一个共享目录
]# mount //192.168.1.20/test /mnt
Password:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
直接MOUNT就是这样,密码输入后出现没有权限。是怎么回事
回复 支持 反对

使用道具 举报

发表于 2008-11-29 12:56:55 | 显示全部楼层
等高手。不是ntfs问题,windows既然已经共享到网络上了,用的应该是网络邻居协议,底层是什么文件格式因该没问题。

应该是windows那边的权限,或者samba,cifs的问题。
回复 支持 反对

使用道具 举报

发表于 2008-11-29 14:31:27 | 显示全部楼层
mount.cifs //path/to/remote/machine /local/mount/point -o user=username password=password
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-29 15:58:05 | 显示全部楼层
谢谢,这命令对的。
回复 支持 反对

使用道具 举报

发表于 2008-11-29 16:42:47 | 显示全部楼层
  1. sudo mount -t smbfs -o username=foo,password=bar,iocharset=utf8,codepage=936 //192.168.1.20/test /mnt
复制代码

nautilus的smbmount支持很好用,还要命令行干哈……
回复 支持 反对

使用道具 举报

发表于 2008-12-1 09:01:12 | 显示全部楼层
正确的命令:mount //ip/path /path -u username=xxx
例如:
mount  //192.168.1.20/test  /mnt -u username=administrator
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-30 00:21:42 | 显示全部楼层
8# wrong

mount //192.168.1.20/test /mnt -o username=administrator    (not -u)
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表