centos samba 挂载

linux挂载windows共享出错mount error: cifs filesystem not supported by the system


今天在linux上挂载windows共享的时候报错:

mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

出现此问题有两种可能,

一种是你升级内核后没有重新加载内核,这种情况只需要重启机器或者执行以下命令就行了

modprobe fuse

modprobe cifs

第二种情况是没有cifs命令模块,执行以下命令安装:

yum -y install  cifs-utils

modprobe cifs

再次挂载。

挂载window7的时候报错

mount -t cifs  //10.28.17.163/nwpv_new ts/ -o username=hp,vers=2.1

· 2.1 – The SMBv2.1 protocol that was introduced in Microsoft
Windows 7 and Windows Server 2008R2.

· 3.0 – The SMBv3.0 protocol that was introduced in Microsoft
Windows 8 and Windows Server 2012.


你可能感兴趣的:(linux,运维,smaba,linux,samba)