Longhorn rwx nfs mount issue

Asked by Yassine JEANNETTE

Hello,

I'm experiencing issues with longhorn rwx feature on k3s cluster since upgrade to kernel 5.15.0-1046-raspi

The symptom are exactly the same as the one describe on longhorn KB (https://longhorn.io/kb/troubleshooting-rwx-volume-fails-to-attached-caused-by-protocol-not-supported/)

My version deployed on my rasberry pi

root@my-pi:~$ uname -a
Linux my-pi 5.15.0-1046-raspi #49-Ubuntu SMP PREEMPT Thu Jan 18 12:45:41 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

Mount request (with options)
root@my-pi:~$ sudo mount -t nfs -o vers=4.2,noresvport,softerr,timeo=600,retrans=5 XX.XX.XX.XX:/pvc-UID /mnt/nfs -vvv
mount.nfs: timeout set for Tue Feb 20 11:00:38 2024
mount.nfs: trying text-based options 'vers=4.2,noresvport,softerr,timeo=600,retrans=5,proto=tcp,addr=XX.XX.XX.XX,clientaddr=YY.YY.YY.YY'
mount.nfs: mount(2): Protocol not supported
mount.nfs: Protocol not supported

Mount request (without options)
root@my-pi:~$mount -t nfs XX.XX.XX.XX:/pvc-UID /mnt/nfs -vvv
mount.nfs: timeout set for Tue Feb 20 11:02:29 2024
mount.nfs: trying text-based options 'vers=4.2,addr=XX.XX.XX.XX,clientaddr=YY.YY.YY.YY'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4,minorversion=1,addr=XX.XX.XX.XX,clientaddr=YY.YY.YY.YY'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4,addr=XX.XX.XX.XX,clientaddr=YY.YY.YY.YY'
mount.nfs: mount(2): Protocol not supported
Created symlink /run/systemd/system/remote-fs.target.wants/rpc-statd.service → /lib/systemd/system/rpc-statd.service.
mount.nfs: trying text-based options 'addr=XX.XX.XX.XX'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100003, trying vers=3, prot=17
mount.nfs: portmap query failed: RPC: Timed out
mount.nfs: Protocol not supported

On another node (not using RPI) I had same issue with kernel linux-image-5.15.0-94-generic.Downgrading to kernel linux-image-5.15.0-92-generic solved the issue.

Is there anyone experiencing the same issue ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux-raspi Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

All I can suggest is report a bug. Sounds like a regression is the later version

Revision history for this message
Yassine JEANNETTE (myjeannette) said :
#2

Will log it as a bug then. Thanks

Can you help with this problem?

Provide an answer of your own, or ask Yassine JEANNETTE for more information if necessary.

To post a message you must log in.