-
-
Notifications
You must be signed in to change notification settings - Fork 750
Closed
Description
Bug Report
Description
The mount of NFS volume fails if the nolock option is not specified.
The storage class has these options
mountOptions:
- rw
- relatime
- rsize=524288
- wsize=524288
Logs
Event for the pod :
Warning FailedMount 3m14s (x51 over 99m) kubelet MountVolume.SetUp failed for volume "pvc-111-222-333-444-555" : mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t nfs -o relatime,rsize=524288,rw,wsize=524288 nfs.contoso.com:/shares/ns-myapp-pvc-111-222-333-444-555 /var/lib/kubelet/pods/6f3192ff-bcef-4de9-b1d4-8a0b623557fd/volumes/kubernetes.io~nfs/pvc-111-222-333-444-555
Output: mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
Environment
- Talos version:
1.2.6 - Kubernetes version:
1.23.13 - Platform: on premise
Question
So are we forced to add the nolock mount option in the storage class, or is it possible to start the statd daemon on talos node ?
drcannoli, Ramblurr and C4ptFuturedimatha and giacinti