如何解决linux mount cifs 挂window 网盘问题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何解决linux mount cifs 挂window 网盘问题相关的知识,希望对你有一定的参考价值。
在centos mount cifs 挂window 网盘容易出现问题如下:
一、挂载时,用户/密码错误
mount error(13): Permission deniedRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)
对应/var/log/message记录
Oct 12 16:20:01 localhost kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILUREOct 12 16:20:01 localhost kernel: CIFS VFS: Send error in SessSetup = -13
Oct 12 16:20:01 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
二、没有分享目录
Retrying with upper case share namemount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
对应/var/log/message记录
Oct 12 16:20:06 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -6Oct 12 16:20:17 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -6
Oct 12 16:20:17 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -6
目前遇到的问题就是这些
补充一句,格式一定要写正确:
mount -t cifs -o username=administrator,password=**** //192.168.1.1/分享目录 /linux/share 参考技术A mount命令格式如下mount -t cifs -o username=访问共享文件的用户名,passwd=访问共享文件的用户名对应的密码,soft 共享的URL地址(如//192.168.0.1/share) linux上的地址(如/mnt/win7) 参考技术B 在centos mount cifs 挂window 网盘容易出现问题如下:
一、挂载时,用户/密码错误
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
对应/var/log/message记录
二、没有分享目录
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)
对应/var/log/message记录本回答被提问者和网友采纳
以上是关于如何解决linux mount cifs 挂window 网盘问题的主要内容,如果未能解决你的问题,请参考以下文章