Mounting NFS filesystem fails with an error 'mount.nfs: No such device'
Issue
- Unable to mount NFS share. getting below error:
[root@hostname ~]# 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/<kernel version>/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/<kernel version>/kernel/fs/nfs/nfs.ko): Accessing a corrupted shared library
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.