在windows2003創建一個共享文件,centos6.3要掛載這個共享文件,結果報以下錯誤;
[root@server02 ~]# mount -t cifs -o username=administrator //192.168.2.204/web /test
mount: block device //192.168.2.204/web is write-protected, mounting read-only
mount: cannot mount block device //192.168.2.204/web read-only
以前在centos5.6用相同的方法是可以掛載的。後來發現缺少個安裝包,用yum安裝cifs這個軟件包就OK了。
[root@server02 ~]# yum install cifs*
Installed:
cifs-utils.x86_64 0:4.8.1-19.el6
Dependency Installed:
keyutils.x86_64 0:1.4-4.el6
Dependency Updated:
libtalloc.x86_64 0:2.0.7-2.el6
Complete!
在用相同的命令掛載就可以了。
[root@server02 ~]# mount -t cifs -o username=administrator //192.168.2.204/web /tmp/
Password: