CentOS-6.3挂载windows共享文件
2014-04-24 21:01
399 查看
在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:
[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:
相关文章推荐
- centos挂载windows共享目录读写文件
- VMware,win7与linux centos6.4文件互传,linux下挂载windows共享文件夹,vmware tools安装方法
- centos访问windows的共享文件(通过挂载)
- centos如何挂载Windows共享文件
- NSF服务 -- 文件共享 (windows挂载centos)
- VMware,win7与linux centos6.4文件互传,linux下挂载windows共享文件夹,vmware tools安装方法
- 【转】 CentOS 5.5 挂载windows ntfs 文件系统
- centos挂载windows共享目录
- CentOS安装samba,windows挂载linux共享文件夹
- Centos 7 挂载windows共享目录
- centos挂载windows共享文件夹
- 将Windows的共享文件夹挂载到CentOS6.5
- CentOS6.3 通过NFS挂载根文件系统的问题
- CentOS 6.3 下用ntfs-3g挂载Windows NTFS分区
- CentOS配置smaba与Windows共享文件
- linux下挂载(mount)光盘镜像文件、移动硬盘、U盘、Windows和NFS网络共享
- Windows 7挂载linux的NFS共享文件
- linux下挂载(mount)光盘镜像文件、移动硬盘、U盘、Windows和NFS网络共享
- CentOs5.8 使用vsftp与windows共享文件
- CentOS 5.5 Linux:挂载Windows NTFS 文件系统