IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Linux挂载MS Windows的共享目录的时候,可能会遇到的错误

    Adamhuan发表于 2017-04-19 07:17:04
    love 0

    Linux挂载MS Windows的共享目录的时候,可能会遇到很多问题,下面列举可能出现的问题,及其产生原因:

    提供的口令不正确,但用户确实存在:

    [root@oracle-cluster-3 ~]# mount -t cifs -o username=administrator,password=abcd //10.158.1.97/nfs_me /ntfs_me/
    mount error(13): Permission denied
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    [root@oracle-cluster-3 ~]#

    提供的用户名不对 或者 MS Windows中,没有开启【NETLOGIN】系统服务:

    [root@oracle-cluster-3 ~]# mount -t cifs -o username=crack_me,password=abcd //10.158.1.97/nfs_me /ntfs_me/
    mount error(92): Protocol not available
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    [root@oracle-cluster-3 ~]#

    MS Windows端的共享文件目录没有打开:

    [root@oracle-cluster-3 ~]# mount -t cifs -o username=administrator,password=****** //10.158.1.97/nfs_me /ntfs_me/
    Retrying with upper case share name
    mount error(6): No such device or address
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    [root@oracle-cluster-3 ~]#

    MS Windows端,根本不存在要访问的共享目录:

    [root@oracle-cluster-3 ~]# mount -t cifs -o username=administrator,password=P@ssw0rd //10.158.1.97/nfs_me /hello_world
    Couldn't chdir to /hello_world: No such file or directory
    [root@oracle-cluster-3 ~]#

    ——————————————————
    Done。



沪ICP备19023445号-2号
友情链接