Hello everyone,
I would like to mount a single NFS share on a CentOS 7 server. At first I noticed that the mount command failed with the following error:
This is mostly due to the nfs modules not being loaded or if they are not available (kernel not compiled with nfs, etc). At first I tried to modprobe nfs but the module did not load... strange. Eventually, I could only load the required modules by running instmod directly on the module files:
Code: Select all
# insmod /lib/modules/3.10.0-957.1.3.el7.x86_64/kernel/fs/nfs/nfs.ko.xz
# insmod /lib/modules/3.10.0-957.1.3.el7.x86_64/kernel/fs/nfs/nfsv4.ko.xz
Now my mount command works fine. But, loading shares from the /etc/fstab fails because those modules don't load on boot, so how would I force the nfs modules to load on boot?
Thank you.