nfs挂载时出现mount: wrong fs type, bad option, bad superblock等报错信息后的问题排查方法

问题现象

执行mount -t nfs -o tcp,noclock,nfsvers=3 nfs.XXX /XXX 时出错,提示
在这里插入图片描述
mount: wrong fs type, bad option, bad superblock on XXX,

missing codepage or helper program, or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

排查方法

输入命令,检查有没有mount.nfs文件

ls /sbin/mount.*

输入命令,检查nfs-utils 和 rpcbind 是否已经安装

rpm -qa nfs-utils rpcbind

问题原因

笔者的问题是nfs-utils没有正常安装,虽然在yum list里面能找到,但实际没有安装成功

posted @ 2023-05-29 15:05  鲁自清  阅读(175)  评论(0)    收藏  举报  来源