挂载 NFS 文件系统失败并显示错误 'mount.nfs:No such device'
Issue
- 无法挂载 NFS 共享。出现以下错误:
[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 共享无法挂载,在 /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.