【Linux】mount挂载问题案例

记录一次挂载问题,服务端共享路径已经显示出来,但客户端挂载就报下面的错误。

bash 复制代码
mount: wrong fs type, bad option, bad superblock on 172.16.11.11:/opt/file/yami-saas,
       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.

查看dmesg日志

bash 复制代码
[root@5gprd-0002 opt]# dmesg | tail
Please review provided documentation for limitations.
[280692.137992] Bridge firewalling registered
[280692.357114] ctnetlink v0.93: registering with nfnetlink.
[280692.459219] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[285980.784924] FS-Cache: Loaded
[285980.825044] RPC: Registered named UNIX socket transport module.
[285980.825623] RPC: Registered udp transport module.
[285980.826045] RPC: Registered tcp transport module.
[285980.826486] RPC: Registered tcp NFSv4.1 backchannel transport module.
[285980.861059] FS-Cache: Netfs 'nfs' registered for caching
[root@5gprd-0002 opt]# cat /var/log/messages | grep mount
[root@5gprd-0002 opt]# 

问题原因是在服务器上没有安装nfs。

客户端安装yum -y install nfs-utils,问题解决,恢复正常挂载。

相关推荐
chlk12312 小时前
Linux文件权限完全图解:读懂 ls -l 和 chmod 755 背后的秘密
linux·操作系统
舒一笑13 小时前
Ubuntu系统安装CodeX出现问题
linux·后端
改一下配置文件13 小时前
Ubuntu24.04安装NVIDIA驱动完整指南(含Secure Boot解决方案)
linux
碳基沙盒14 小时前
OpenClaw 多 Agent 配置实战指南
运维
深紫色的三北六号1 天前
Linux 服务器磁盘扩容与目录迁移:rsync + bind mount 实现服务无感迁移(无需修改配置)
linux·扩容·服务迁移
SudosuBash1 天前
[CS:APP 3e] 关于对 第 12 章 读/写者的一点思考和题解 (作业 12.19,12.20,12.21)
linux·并发·操作系统(os)
哈基咪怎么可能是AI2 天前
为什么我就想要「线性历史 + Signed Commits」GitHub 却把我当猴耍 🤬🎙️
linux·github
十日十行2 天前
Linux和window共享文件夹
linux
Sinclair2 天前
简单几步,安卓手机秒变服务器,安装 CMS 程序
android·服务器
木心月转码ing3 天前
WSL+Cpp开发环境配置
linux