命令:
sudo mount -t cifs //<server>/<share> -o username=user@domain,password=**** /mnt/<mountpoint>
错误信息:
无法找到合适的地址。
Syslog显示:
CIFS VFS: 连接套接字出错,操作终止。
CIFS VFS:cifs_mount失败,返回代码为-111
当我查看通过man mount
获得的挂载文档时,我看到了以下关于错误代码的信息:
RETURN CODES
mount has the following return codes (the bits can be ORed):
0 success
1 incorrect invocation or permissions
2 system error (out of memory, cannot fork, no more loop devices)
4 internal mount bug
8 user interrupt
16 problems writing or locking /etc/mtab
32 mount failure
64 some mount succeeded
那么,-111是否与1表示相同的意思?如果是这样,如何诊断是权限问题还是命令不正确?