mount -t cifs -o domain=test.com,username=administrator,password=test123 //192.168.1.10/share /usr/local/b
报错如下
mount -t cifs -o username=scj,password=xxxxx //10.100.xx/09.xx /usr/local/b # 报错如下 [root@it519 ~]# mount -t cifs -o username="domain\xx",password="xx"//10.100.xx/Android /usr/local/a mount: //10.100.xx/Android is write-protected, mounting read-only mount: cannot mount //10.100.xx/Android read-only
解决:
# 需要安装cifs-utils yum install cifs-utils.x86_64
安装完成后继续执行 报错如下
[root@it519 ~]# mount -t cifs -o username="domain\xx",password="xxx"//10.100.xx/Android /usr/local/a mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
# 原因:命令中关于域的格式不对,正确的是: # 建议用这个 mount -t cifs -o domain=test.com,username=administrator,password=test123 //192.168.1.10/share /databackup # 或 mount -t cifs -o username=domain/administrator,password=test123 //192.168.1.10/share /databackup
[root@www /]# mount -t cifs -o username=testuser,password=123//192.168.214.128/npwpw /databackup mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)