quiet-dentist-43250
04/17/2025, 5:57 PMmount
shows me that the options used in the mount are not the same that I put in the pv
. Is this expected?creamy-pencil-82913
04/17/2025, 5:59 PMminiature-kangaroo-6093
04/17/2025, 6:00 PMcreamy-pencil-82913
04/17/2025, 6:00 PMcreamy-pencil-82913
04/17/2025, 6:01 PMquiet-dentist-43250
04/17/2025, 6:01 PMmountOptions:
- timeo=600
- retrans=3
- proto=tcp6
- nfsvers=4.2
- rsize=32768
- wsize=32768
- noacl
- noatime
- nodiratime
- nolock
- nosuid
- nofail
olaf.wire.znet:/data01/stuff on /var/lib/kubelet/pods/5115dfbc-7427-4e63-9a4e-914a8396e43f/volumes/kubernetes.io~nfs/stuff type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp6,timeo=600,retrans=2,sec=sys,mountaddr=fc15::11,mountvers=3,mountport=893,mountproto=udp6,local_lock=none,addr=fc15::11)
quiet-dentist-43250
04/17/2025, 6:02 PMcreamy-pencil-82913
04/17/2025, 6:04 PMminiature-kangaroo-6093
04/17/2025, 6:04 PMminiature-kangaroo-6093
04/17/2025, 6:05 PMcreamy-pencil-82913
04/17/2025, 6:09 PMquiet-dentist-43250
04/17/2025, 6:36 PMapiVersion: v1
kind: PersistentVolume
metadata:
annotations:
<http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: |
{"apiVersion":"v1","kind":"PersistentVolume","metadata":{"annotations":{},"labels":{"tanka.dev/environment":"6b75f2470136c3ddee55479b95978d0fe68d7dc8220fd00f"},"name":"media"},"spec":{"accessModes":["ReadWriteMany"],"capacity":{"storage":"1Gi"},"mountOptions":["timeo=600","retrans=3","proto=tcp6","nfsvers=4.2","rsize=32768","wsize=32768","noacl","noatime","nodiratime","nolock","nosuid","nofail"],"nfs":{"path":"/data01/stuff","readOnly":false,"server":"olaf.wire.znet"}}}
<http://pv.kubernetes.io/bound-by-controller|pv.kubernetes.io/bound-by-controller>: "yes"
creationTimestamp: "2025-04-17T02:16:46Z"
finalizers:
- <http://kubernetes.io/pv-protection|kubernetes.io/pv-protection>
labels:
tanka.dev/environment: 6b75f2470136c3ddee55479b95978d0fe68d7dc8220fd00f
name: media
resourceVersion: "634678158"
uid: ca249f20-ffe2-4f93-a625-3ca20e9a98e5
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: media
namespace: media
resourceVersion: "634674471"
uid: 0bcb4bed-4695-4f77-818c-734bb400fdbe
mountOptions:
- timeo=600
- retrans=3
- proto=tcp6
- nfsvers=4.2
- rsize=32768
- wsize=32768
- noacl
- noatime
- nodiratime
- nolock
- nosuid
- nofail
nfs:
path: /data01/stuff
server: olaf.wire.znet
persistentVolumeReclaimPolicy: Retain
volumeMode: Filesystem
status:
lastPhaseTransitionTime: "2025-04-17T02:16:56Z"
phase: Bound
quiet-dentist-43250
04/17/2025, 6:37 PMprefer-bundled-bin
for the recent bug in linux-util and then ran into https://github.com/k3s-io/k3s/issues/10206 but now I'm patched and so removed prefer-bundled-bin and seeing that the mount is not as requested.quiet-dentist-43250
04/17/2025, 6:38 PMcreamy-pencil-82913
04/17/2025, 7:02 PMquiet-dentist-43250
04/17/2025, 7:11 PMmount -t nfs -o timeo=600,retrans=3,proto=tcp6,nfsvers=4.2,rsize=32768,wsize=32768,noacl,noatime,nodiratime,nolock,nosuid,nofail ...
Results in these options showing up in mount
ouput.
type nfs4 (rw,nosuid,noatime,nodiratime,vers=4.2,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp6,timeo=600,retrans=3,sec=sys,clientaddr=fc15::60,local_lock=none,addr=fc15::11)
Compared to what is mouned in kubernetes.
type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp6,timeo=600,retrans=2,sec=sys,mountaddr=fc15::11,mountvers=3,mountport=893,mountproto=udp6,local_lock=none,addr=fc15::11)
quiet-dentist-43250
04/17/2025, 7:12 PMcreamy-pencil-82913
04/17/2025, 7:19 PMcreamy-pencil-82913
04/17/2025, 7:19 PMquiet-dentist-43250
04/17/2025, 7:20 PMquiet-dentist-43250
04/17/2025, 7:20 PMcreamy-pencil-82913
04/17/2025, 7:20 PM--v=4
to the k3s args kubernetes will dump out a ton of logs, including the mount optionsquiet-dentist-43250
04/17/2025, 7:21 PMquiet-dentist-43250
04/17/2025, 7:21 PM[31122.091771] svc: failed to register lockdv1 RPC service (errno 111).
quiet-dentist-43250
04/17/2025, 7:21 PMquiet-dentist-43250
04/17/2025, 7:22 PMnolock
option was specified.creamy-pencil-82913
04/17/2025, 7:22 PMquiet-dentist-43250
04/17/2025, 7:22 PMcreamy-pencil-82913
04/17/2025, 7:22 PMquiet-dentist-43250
04/17/2025, 7:23 PMrpcinfo -p
doesn't require that rpc.lockd is in place, or whatever it was.quiet-dentist-43250
04/17/2025, 7:23 PMquiet-dentist-43250
04/17/2025, 7:23 PMquiet-dentist-43250
04/17/2025, 7:24 PMquiet-dentist-43250
04/17/2025, 7:25 PMprefer-bundled-bin
was slightly different that what is reported in https://github.com/k3s-io/k3s/issues/10206quiet-dentist-43250
04/17/2025, 7:29 PMquiet-dentist-43250
04/17/2025, 7:39 PMquiet-dentist-43250
04/17/2025, 7:41 PMquiet-dentist-43250
04/25/2025, 2:12 PM