Solved kernel: nfs: Unknown parameter ‘noquota’.
In this post, we will see an interesting bug where the NFS auto mount failed to mount the map or share.
I. Error Message
If we see the error messages on server, we can see below logs where it says
“Unknown parameter noquota”
Jul 27 03:12:21 ngelinux001 kernel: nfs: Unknown parameter 'noquota' Jul 27 03:12:30 ngelinux001 kernel: nfs: Deprecated parameter 'intr' Jul 27 03:12:30 ngelinux001 kernel: nfs: Unknown parameter 'noquota' Jul 27 03:12:44 ngelinux001 kernel: nfs: Unknown parameter 'noquota' Jul 27 03:12:51 ngelinux001 kernel: nfs: Deprecated parameter 'intr' Jul 27 03:13:00 ngelinux001 kernel: nfs: Unknown parameter 'noquota'
II. Solution
Ideally NFS should ignore the option if its not supported.
However this is the bug with specific nfs-utils version installed on the server.
a. Check the installed nfs-utils version
Lets see the installed version on the server.
[root@ngelinux001 log]# rpm -qa | grep -i nfs nfs4-acl-tools-0.3.5-3.el8.x86_64 nfs-utils-2.3.3-26.el8.x86_64
b. Update package
Map new repo and update the package using command “yum update” or rpm -Uvh.
Now my system has upgraded package.
[root@ngelinux001 ~]# rpm -qa | grep -i nfs-utils nfs-utils-2.3.3-51.el8.x86_64
And now i can see the issue is solved.
My auto mount map is now working again.
[root@ngelinux001 ~]# cd /grid/NGEL/tools [root@ngelinux001 tools]# df -h . Filesystem Size Used Avail Use% Mounted on ngenfsserver:/NGEL/NGEL_eng_user3/cmg/apps/tools 500G 450G 51G 90% /grid/NGEL/tools