Mounting NFS filesystem fails with an error 'mount.nfs: No such device'
Issue
-
Unable to mount NFS share. Getting below error:
# mount 10.0.0.1:/NFS/Share /mountpoint -vvv [..] mount.nfs: timeout set for Wed Jul 31 12:27:18 2019 mount.nfs: trying text-based options 'vers=4,addr=10.0.0.1,clientaddr=10.0.0.2' mount.nfs: mount(2): No such device mount.nfs: No such device -
NFS share fails to mount and below messages are logged in /var/log/messages:
Jul 29 10:11:30 hostname modprobe: FATAL: Error inserting nfs (/lib/modules/<kernelversion>/kernel/fs/nfs/nfs.ko): Accessing a corrupted shared library Jul 29 10:11:30 hostname kernel: Verify ELF error (assertion 69) Jul 29 10:11:30 hostname kernel: Module failed ELF checks Jul 29 10:11:30 hostname modprobe: FATAL: Error inserting nfs (/lib/modules/<kernelversion>/kernel/fs/nfs/nfs.ko): Accessing a corrupted shared library
Environment
- Red Hat Enterprise Linux (RHEL)
- NFS client
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.