一、报错原因:
mount: wrong fs type, bad option, bad superblock on 10.202.35.160:/CHENYI_TEST_SIT, ? ? ? ?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.
命令:?kubectl describe pods asdf-yijian-2021-10-22-beta-dr-5fb887d698-sx2s5 -n air-test-aaa?
?二、排错过程:
1、查看是否有/sbin/mount.<type>文件
命令:ls /sbin/mount.*
??结论:确实缺少这些文件
2、查资料,看下怎么安装:
?参考文章:
nfs挂载错误wrong fs type, bad option, bad superblock_sunxiaopengsun的专栏-CSDN博客
3、安装软件,看下pod是否正常
注意:要在每个跑pod的节点上安装
命令:yum install nfs-utils ?
无需重启pod,安装好nfs-utils
?三、参考文章:
nfs挂载错误wrong fs type, bad option, bad superblock_sunxiaopengsun的专栏-CSDN博客
|