linux下挂载samba时报错,wrong fs type,bad option,bad superblock

环境:172.24.21.22是samba服务端

使用mount命令直接挂载,如下

居然报错,那我们使用-t 参数,加上cifs

居然还是报错

仔细查看上面的报错,小括号里面的,need a /sbin/mount.<tpye> helper program)

貌似在/sbin/有很多与mount相关的命令,查看如下,使用双tab列出所有/sbin/mount.开头的命令:

貌似少了一个mount.cifs,因为samba使用的文件系统是cifs:那就安装嘛,如下

上面安装mount.cifs命令,首先你得有一个可靠的yum环境

安装成功后,查看,如下

[[email protected] ~]# /sbin/mount.
mount.cifs   mount.fuse   mount.nfs    mount.nfs4   mount.tmpfs

第一个就是mount.cifs,那我们继续完成挂载操作,如下

搞定

时间: 2024-11-08 21:15:44

linux下挂载samba时报错,wrong fs type,bad option,bad superblock的相关文章

客户端挂载nfs报错mount: wrong fs type, bad option, bad superblock on...

解决客户端挂载nfs是出现如下报错问题:      mount: wrong fs type, bad option, bad superblock on 172.16.1.9:/home/addam,        missing codepage or helper program, or other error        (for several filesystems (e.g. nfs, cifs) you might        need a /sbin/mount.<type

linux文件系统问题:wrong fs type, bad option, bad superblock

http://blog.itpub.net/26006637/viewspace-1059946/ 报错内容: mount: wrong fs type, bad option, bad superblock on /dev/mapper/oraclevg-oraclelv, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | t

解决nfs挂载错误wrong fs type, bad option, bad superblock

错误: [[email protected]]# mount -t nfs 192.168.0.106:/home/nfs1 mount: wrong fs type, bad option, bad superblock on 192.168.0.106:/home/nfs1,        missing codepage or helper program, or other error        (for several filesystems (e.g. nfs, cifs) yo

KVM http网络加载镜像报错(mount: wrong fs type, bad option, bad superblock on /dev/loop0)

curl: (23) Failed writing body (7818 != 16384)loop: module loadeddracut-initqueue[579]: mount: wrong fs type, bad option, bad superblock on /dev/loop0dracut-initqueue[579]: missing codepage or helper program, or other errordracut-initqueue[579]: In s

azure云中 mount: wrong fs type, bad option, bad superblock on /dev/sdc1

2016-01-30 mount失败问题解决 [[email protected] ~]# mount /dev/sdc /dta mount: you must specify the filesystem type [[email protected] ~]# [[email protected] ~]# mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, m

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1简单解决方法

使用CentOS连接U盘时,刚连接时,可能会报一下错误: Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so 初步的解决方法是将U盘里的资料备份后,重

mount: wrong fs type, bad option, bad superblock

mount: wrong fs type, bad option, bad superblock on 125.64.41.244:/data/img,       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

Linux下MySql启动时报错

/opt/mysql/support-files/mysql.server startmy_print_defaults: [ERROR] Found option without preceding group in config file /opt/mysql/my.cnf at line 1!my_print_defaults: [ERROR] Fatal error in defaults handling. Program aborted!Starting MySQL. ERROR!

Linux下使用RedisPool时报错:redis.clients.jedis.HostAndPort getLocalHostQuietly 严重: cant resolve localhost address

解决方案: $ hostname ##查看主机名 $ vim /etc/hosts ##查看主机名是否包含在第一行中,若无,添加即可 OK 原文地址:https://www.cnblogs.com/alter888/p/9018970.html