问题描述:
Mounting arguments: -t nfs 10.10.10.10:/opt/share /var/lib/kubelet/pods/b45b364f-8f0f-4eee-b742-99447deawert/volumes/kubernetes.io~nfs/pv-2
Output: mount: wrong fs type, bad option, bad superblock on 10.10.10.10:/opt/share,
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.
解:
1、根据错误提示,查看/sbin/mount.文件,果然发现没有/sbin/mount.nfs的文件,安装nfs-utils即可;
2、yum install nfs-utils
3、重新挂载