通过cifs格式挂载用户名为xxx,域为domain.com ,地址为192.168.100.100/Share目录
sudo mount -t cifs -o username=xxx,domain=domain.com //192.168.100.100/Share /mnt
出现如下错误:
mount: wrong fs type, bad option, bad superblock on //192.0.0.214/Pub-Sharing, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) 系统日志中可能有一些重要的信息, 试试用 dmesg | tail 之类的命令查看~$ dmesg | grep cifs
[ 7768.326606] FS-Cache: Netfs 'cifs' registered for caching [ 7768.327050] Key type cifs.spnego registered [ 7768.327409] Key type cifs.idmap registered [ 7768.337135] CIFS VFS: cifs_mount failed w/return code = -22解决方法:
安装cifs格式包,然后从新挂载
sudo apt-get install cisf-utils