Could not mount nfs storage

barlone

New Member
Dec 26, 2021
2
1
1
49
Hi to all,
I`ve faced with problem on last Proxmox VE 7.1 when i try mount NFS volume in storages.

I`ve set server ip, scan found my export, but then i ty add voluve i get

create storage failed: mount error: mount.nfs: No such device (500)

dmesg output filled many failed to validate module [netfs] BTF: -22 errors

[2738459.015208] failed to validate module [netfs] BTF: -22
[2738469.286696] BPF: type_id=106320 bits_offset=0
[2738469.286903] BPF:
[2738469.287097] BPF:Invalid name
[2738469.287287] BPF:

[2738469.287654] failed to validate module [netfs] BTF: -22
[2738479.562405] BPF: type_id=106320 bits_offset=0
[2738479.562741] BPF:
[2738479.563003] BPF:Invalid name
[2738479.563250] BPF:

[2738479.563719] failed to validate module [netfs] BTF: -22
[2738488.798681] BPF: type_id=106320 bits_offset=0
[2738488.798894] BPF:
[2738488.799077] BPF:Invalid name
[2738488.799256] BPF:

[2738488.799602] failed to validate module [netfs] BTF: -22
[2738499.045495] BPF: type_id=106320 bits_offset=0
[2738499.045707] BPF:
[2738499.045961] BPF:Invalid name
[2738499.046255] BPF:

[2738499.046603] failed to validate module [netfs] BTF: -22
[2738509.318037] BPF: type_id=106320 bits_offset=0
[2738509.318298] BPF:
[2738509.318492] BPF:Invalid name
[2738509.318681] BPF:

kernel 5.13.19-1-pve #1 SMP PVE 5.13.19-2

pvesm nfsscan found my nfs export
 
Try running:
`update-initramfs`
`proxmox-boot-tool refresh`
`update-grub`
and rebooting

Background:
https://lore.kernel.org/all/1637926692.uyvrkty41j.astroid@nora.none/

This is an issue in the kernel config - which has been fixed for newer kernels - and which can be mitigated locally by recreating the initramfs and rebooting

I hope this helps!
 
  • Like
Reactions: WendyMcF
Instructions above from Stoiko helped me today with an error I hadn't seen before.
When I click on `synology-nas-storage` the Summary will show that it allows the following Content: VZDump backup file, Disk image, ISO image, Container, Snippets, Container template. But if I click on its `Backups` tab it says "mount error: mount NFS: No such device (500)"
The Storage can be accessed again with no problems. Thank you!