articles. tech. automation.

Kubernetes NFS mount: exit status 32

Recently I got the following error while trying to use a NFS PVC in one of my lab deployments running the following command from the worker node:

journalctl -u kubelet
MountVolume.MountDevice failed for volume "..." : rpc error: code = Internal desc = mount failed: exit status 32...

The following steps were needed to solve this issue:

  1. Installed nfs-utils in the worker nodes. These a RHEL based machines, so “yum install nfs-utils” installs it on the machines.
  2. Use kubelet logs to identify the problem. Using the command “journalctl -lu kubelet.service”. In my case, the following line was relevant:
kubelet[7512]: Output: mount.nfs: Protocol not supported

For the problem above, the fix was to adjust the exports of the NFS server to accept requests from the worker’s subnet.

Avatar de jorge.senger

Deixe um comentário

O seu endereço de email não será publicado. Campos obrigatórios marcados com *

Jorge A. Senger

Software architect
Red Hat Certified Engineer
AWS Certified Architect
IBM Cloud Certified Architect