fedora下面如何mount到samba server的目录?RHEL5里面有mount.cifs,但是在fedora的samba-client-3.5.2-59.fc13.x86_64怎么没有了mount.cifs
fedora 12 里面还有这个命令啊
你试试 yum install */mount.cifs
On Fri, Apr 16, 2010 at 1:17 PM, miles kuo miles.kuo@gmail.com wrote:
fedora下面如何mount到samba
server的目录?RHEL5里面有mount.cifs,但是在fedora的samba-client-3.5.2-59.fc13.x86_64怎么没有了mount.cifs _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
在 2010年4月16日 星期五 13:17:07,miles kuo 写道:
fedora下面如何mount到samba server的目录?RHEL5里面有mount.cifs,但是在fedora的samba-client-3.5.2-59.fc13.x86_64怎么没 有了mount.cifs _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
现在的mount本身就支持-t cifs,不需要samba-cilent额外支持。 而且现在的mount默认是自动识别文件系统的,只要目标文件系统没有错误,不加-t选项可以自动识别挂载的。
[root@f13-test /]# mount -t cifs //<server IP>/pub/ /mnt/ mount: wrong fs type, bad option, bad superblock on //<server IP>/pub/, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
[root@f13-test /]# mount //<server IP>/pub/ /mnt/ mount: wrong fs type, bad option, bad superblock on //<server IP>/pub/, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
[root@f13-test /]# dmesg | tail e1000e: eth0 NIC Link is Down e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None 0000:00:19.0: eth0: 10/100 speed: disabling TSO Slow work thread pool: Starting up Slow work thread pool: Ready CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22
在 2010年4月16日 下午1:20,Y.M. zakarum.ma@gmail.com 写道:
在 2010年4月16日 星期五 13:17:07,miles kuo 写道:
fedora下面如何mount到samba server的目录?RHEL5里面有mount.cifs,但是在fedora的samba-client-3.5.2-59.fc13.x86_64怎么没 有了mount.cifs _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
现在的mount本身就支持-t cifs,不需要samba-cilent额外支持。 而且现在的mount默认是自动识别文件系统的,只要目标文件系统没有错误,不加-t选项可以自动识别挂载的。 -- zakarum _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
在 2010年4月16日 星期五 13:24:02,miles kuo 写道:
[root@f13-test /]# mount -t cifs //<server IP>/pub/ /mnt/ mount: wrong fs type, bad option, bad superblock on //<server IP>/pub/, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
[root@f13-test /]# mount //<server IP>/pub/ /mnt/ mount: wrong fs type, bad option, bad superblock on //<server IP>/pub/, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
[root@f13-test /]# dmesg | tail e1000e: eth0 NIC Link is Down e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None 0000:00:19.0: eth0: 10/100 speed: disabling TSO Slow work thread pool: Starting up Slow work thread pool: Ready CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22
看了下手册,mount -t cifs是要调用/sbin/mount.cifs的,我原来看mount的手册以为cifs支持是完全在内核里的。
f12的samba-client依然有cifs相关的支持,f13包我刚才看了确实没有了,你yum provides *bin/mount.cifs看看这个文 件被哪个包所包含。
似乎没有这个文件
[root@f13-test /]# yum install */mount.cifs Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list Setting up Install Process http://mirrors.163.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... ts.sqlite.bz2: [Errno 14] HTTP Error 416 : http://mirrors.163.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... Trying other mirror. http://ubuntu.cn99.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... ts.sqlite.bz2: [Errno 14] HTTP Error 416 : http://ubuntu.cn99.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... Trying other mirror. http://mirror.yandex.ru/fedora/linux/development/13/x86_64/os/repodata/e167c... filelists.sqlite.bz2: [Errno 14] HTTP Error 416 : http://mirror.yandex.ru/fedora/linux/development/13/x86_64/os/repodata/e167c... Trying other mirror. http://ftp.linux.org.tr/fedora/development/13/x86_64/os/repodata/e167c47c1a9... sts.sqlite.bz2: [Errno 14] HTTP Error 403 : http://ftp.linux.org.tr/fedora/development/13/x86_64/os/repodata/e167c47c1a9... Trying other mirror. http://ftp.jaist.ac.jp/pub/Linux/Fedora/development/13/x86_64/os/repodata/e1... 82-filelists.sqlite.bz2: [Errno 14] HTTP Error 416 : http://ftp.jaist.ac.jp/pub/Linux/Fedora/development/13/x86_64/os/repodata/e1... Trying other mirror. No Match for argument: */mount.cifs No package */mount.cifs available. Nothing to do [root@f13-test /]# yum provides *bin/mount.cifs Loaded plugins: langpacks, presto, refresh-packagekit Adding en_US to language list http://mirrors.163.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... ts.sqlite.bz2: [Errno 14] HTTP Error 416 : http://mirrors.163.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... Trying other mirror. http://ubuntu.cn99.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... ts.sqlite.bz2: [Errno 14] HTTP Error 416 : http://ubuntu.cn99.com/fedora/development/13/x86_64/os/repodata/e167c47c1a9d... Trying other mirror. http://mirror.yandex.ru/fedora/linux/development/13/x86_64/os/repodata/e167c...: [Errno 14] PYCURL ERROR 52 - "" Trying other mirror. http://ftp.linux.org.tr/fedora/development/13/x86_64/os/repodata/e167c47c1a9... sts.sqlite.bz2: [Errno 14] HTTP Error 403 : http://ftp.linux.org.tr/fedora/development/13/x86_64/os/repodata/e167c47c1a9... Trying other mirror. http://ftp.jaist.ac.jp/pub/Linux/Fedora/development/13/x86_64/os/repodata/e1... 82-filelists.sqlite.bz2: [Errno 14] HTTP Error 416 : http://ftp.jaist.ac.jp/pub/Linux/Fedora/development/13/x86_64/os/repodata/e1... Trying other mirror. Error: failure: repodata/e167c47c1a9d40836bf643a7d22914e4ad3aecc66df5606c76869fee8794d882-filelists.sqlite.bz2 from fedora: [Errno 256] No more mirrors to try. [root@f13-test /]#
2010/4/16 Y.M. zakarum.ma@gmail.com:
在 2010年4月16日 星期五 13:24:02,miles kuo 写道:
[root@f13-test /]# mount -t cifs //<server IP>/pub/ /mnt/ mount: wrong fs type, bad option, bad superblock on //<server IP>/pub/, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
[root@f13-test /]# mount //<server IP>/pub/ /mnt/ mount: wrong fs type, bad option, bad superblock on //<server IP>/pub/, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so
[root@f13-test /]# dmesg | tail e1000e: eth0 NIC Link is Down e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None 0000:00:19.0: eth0: 10/100 speed: disabling TSO Slow work thread pool: Starting up Slow work thread pool: Ready CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22 CIFS VFS: cifs_mount failed w/return code = -22
看了下手册,mount -t cifs是要调用/sbin/mount.cifs的,我原来看mount的手册以为cifs支持是完全在内核里的。
f12的samba-client依然有cifs相关的支持,f13包我刚才看了确实没有了,你yum provides *bin/mount.cifs看看这个文 件被哪个包所包含。
-- zakarum _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
用yum查了下rawhide的repo,现在cifs的支持通过cifs-utils包提供,大概因为这样和其他文件系统支持的风格相同,而且只需 要mount cifs的话,就不需要安装完整的samba-client了。
正解
在2010-04-16 13:47:02,"Y.M." zakarum.ma@gmail.com 写道:
用yum查了下rawhide的repo,现在cifs的支持通过cifs-utils包提供,大概因为这样和其他文件系统支持的风格相同,而且只需 要mount cifs的话,就不需要安装完整的samba-client了。 -- zakarum _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
chinese@lists.fedoraproject.org