Flexvol:卷“elasticsearch-backup”的 MountVolume.SetUp 失败,请参阅 .staticx.prog(8)

Flexvol:卷“elasticsearch-backup”的 MountVolume.SetUp 失败,请参阅 .staticx.prog(8)

我有一个包含 3 个副本的状态集。Pod 挂载了以下 flexvol

      volumes:
        - flexVolume:
            driver: microsoft.com/smb
            options:
              mountoptions: 'vers=3.0,dir_mode=0777,file_mode=0777,,uid=1000,gid=1000'
              source: //sc.intra/data/backup/K8s/optimize
            secretRef:
              name: smbcreds-optimize
          name: elasticsearch-backup

虽然 flexvol 的安装在 2 个 pod 上工作正常,但在一个 pod 上却不工作

MountVolume.SetUp failed for volume "elasticsearch-backup" : mount command failed, status: Failure, reason: Failed to mount device at /var/lib/kubelet/pods/1cb0afbf-43a8-4ca5-9282-d8a6130a1e02/volumes/microsoft.com~smb/elasticsearch-backup, user:XXXX, //sc.intra/data/backup/K8s/optimize, error log:Refer to the .staticx.prog(8) manual page (e.g. man .staticx.prog) 

在受影响节点的日志中,我可以看到这一点

kernel: CIFS VFS: cifs_mount failed w/return code = -13

有什么建议可能导致该问题的原因以及我该如何调试/修复它?

相关内容