mount错误:wrong fs type, bad option,bad superblock on xxx

来源:互联网 发布:岳飞十二道金牌知乎 编辑:程序博客网 时间:2024/06/03 17:25

执行命令格式:

mount  //域名/挂载名  /本地挂载点


错误提示:

mount: wrong fs type, bad option, bad superblock on ` xxxxx`,
       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 之类的命令查看


google 百度搜索博客大多提示安装nfs-common包并开启portmap服务:

sudo apt-get install nfs-common

sudo service portmap status

执行上述命令后如果看到类似:

portmap start/running, process xxx

那么说明正常启动,再执行mount命令即可

portmap启动可参考执行sudo /etc/init.d/portmap start 或service portmap start


可是按照上面的步骤走了之后还是提示同样的错误:

安装samba......依然提示同样错误。


最后在友情提示下找到解决方案:

 apt-get install smbfs
mount.cifs     //域名/挂载名   /本地挂载点