实验环境:centos-6.4,安装samba服务,但是LINUX 客户端挂载分区时失败:

[root@Centos ~]# mount -t cifs //192.168.90.254/temp /mnt
mount: wrong fs type, bad option, bad superblock on //192.168.90.254/temp,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

发现是少了一个插件:cifs-utils

安装此插件:

[root@Centos ~]# yum -y install cifs-utils

安装之后再挂载

[root@Centos ~]# mount //192.168.90.254/temp  -t cifs /opt
Password:
[root@Centos ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_centos-lv_root
                      29036412    975676  26585768   4% /
tmpfs                   353572         0    353572   0% /dev/shm
/dev/sda1               495844     32407    437837   7% /boot
//192.168.90.254/temp
                      29036412    949664  26611780   4% /opt

参考资料:http://wiki.centos.org/zh/TipsAndTricks/WindowsShares