k8s 挂载NFS 类型PV需要注意事项
作者:
无处安放的躁动 | 来源:发表于
2019-11-05 14:27 被阅读0次
报错
mount: wrong fs type, bad option, bad superblock on 192.168.0.252/mnt/jamestest,
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.
本地解决测试
mount -t nfs 192.168.0.252:/mnt/jamestest /mnt
所有k8s 节点需要安装nfs-utils并启动
yum install -y nfs-utils
ystemctl enable rpcbind
ystemctl start rpcbind
本文标题:k8s 挂载NFS 类型PV需要注意事项
本文链接:https://www.haomeiwen.com/subject/xuotbctx.html
网友评论