In my homelab I occasionally see nfs (possibly?) acting flaky in two scenarios:
- my plex media player dies for seemingly no reason when starting to play a movie
- a share randomly does not mount in kubernetes
I’ve always thought the issue around plex was probably plex related, until I started seeing a fairly reproducable error via kubernetes. I have a pod that runs to perform work, in this pod I mount an nfs share which has required certificates, sometimes the nfs share does not mount and the pod fails.
I’m at a loss as to how to troubleshoot this. All the hardware involved is fairly new, less than a year old. Does NFS just fail if a drive was asleep and has to spin up or something like that? Are there some NFS tweaks I can perform that might help?
I’ll keep digging in looking for errors on the kubernetes side when trying to mount the nfs share within the pod. Any ideas you folks might have from the truenas side would be really helpful.