Linux上SMB挂载提示mount: block device //xxx.xxx.xx.xx/xx is write-protected, mounting read-only时解决办法

当在Linux上挂载SMB服务器时候有时会提示如下错误:

[root@test ~]# mount -o username=lisi //192.168.23.32/smb  /test
mount: block device //192.168.23.32/smb is write-protected, mounting read-only
mount: cannot mount block device //192.168.23.32/smb read-only

此时可以尝试安装 cifs-utils

yum -y install cifs-utils

问题解决:

[root@test ~]# mount -o username=lisi //192.168.23.32/smb  /test
Password: 
[root@test ~]#

你可能感兴趣的:(Linux上SMB挂载提示mount: block device //xxx.xxx.xx.xx/xx is write-protected, mounting read-only时解决办法)