记一次k8s集群挂载动态nfs存储故障

  1. 环境查看
    系统环境
# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
# uname -a
Linux CentOS7K8SNode003068 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

软件环境

# kubectl get node
NAME           STATUS   ROLES    AGE     VERSION
192.168.3.65   Ready    <none>   430d    v1.13.4
  1. 故障现象
    无法启动Pod
    报错如下
mount: 文件系统类型错误、选项错误、192.168.3.63:/ifs/kubernetes/xiaoxingcloud-prd-data-pvc-pvc-2a82c871-690a-11ef-8e31-525400e71cb5 上有坏超级块、
  1. 故障原因
    node节点没有安装nfs插件导致无法挂载动态存储
  2. 修复方法
# yum -y install nfs-utils
posted @ 2025-01-23 15:27  minseo  阅读(34)  评论(0)    收藏  举报