-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NFS mounts not working exit status 32 #342
Comments
The error message you're seeing indicates that there might be an issue with the NFS configuration or the environment in which the |
It would be helpful if you could provide some steps to reproduce this issue. |
HI! I'm facing the same issue after going through the guide on https://www.itwonderlab.com/kubernetes-nfs/ `stenzing@deb-test-1:~$ kubectl describe pod nfs-subdir-external-provisioner-d64f95ffd-jdcdc -n nfs Normal Scheduled 20s default-scheduler Successfully assigned nfs/nfs-subdir-external-provisioner-d64f95ffd-jdcdc to w01.localcluster Then I checked on the nfs client documentation those arguments for the -o, and that was the issue on my side. after that I only had to set the storageclass as default and started working. |
As we can observe, you're experiencing a |
The error message indicates that there's an issue with the mount options used (hard=,nfsvers=4.1,noresvport=,retrans=2,rsize=1048576,timeo=600,wsize=1048576). |
When using NFS subdir external provisioner I receive the following error:
MountVolume.SetUp failed for volume "pvc-bee16797-fef3-4baa-b79f-5addf4455af1" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs 192.168.2.173:/volume1/rancher/transmission-transmission-config-pvc-bee16797-fef3-4baa-b79f-5addf4455af1 /var/snap/microk8s/common/var/lib/kubelet/pods/485b6ad3-8e01-4cc6-8ebf-5d0945fd08d0/volumes/kubernetes.io~nfs/pvc-bee16797-fef3-4baa-b79f-5addf4455af1
Output: mount: /var/snap/microk8s/common/var/lib/kubelet/pods/485b6ad3-8e01-4cc6-8ebf-5d0945fd08d0/volumes/kubernetes.io~nfs/pvc-bee16797-fef3-4baa-b79f-5addf4455af1: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program.
I can confirm I have installed mount.nfs (apt install nfs-common) so I don't know how to solve this error. Thank you for your help
The text was updated successfully, but these errors were encountered: