问题现象
执行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里面能找到,但实际没有安装成功