link:
http://www.minunix.com/2013/04/linux-mount-samba/
http://my.oschina.net/laopiao/blog/161648
最近遇到一个问题,新装的两台服务器死活就是挂载不上samba服务器上的文件,在输入mount挂载命令的时候提示只读什么的,尝试了在挂载的时候用只读的方式去挂载也是不行,最终发现了,缺少安装cifs包,
出错提示如下:
1
2 3 |
# mount -t cifs //192.168.1.177/data /data -o username=minunix
mount: block device //192.168.1.177/data is write-protected, mounting read-only mount: cannot mount block device //192.168.1.177/data read-only |
此时执行命令:
1
|
yum install cifs-utils
|