Working with kernel cifs, NFS
Hi, I am trying to understand how cifs and nfs modules work in the kernel. For that i referred following link. https://docs.kernel.org/admin-guide/cifs/usage.html i did make modules_install to install necessary modules along with cifs and nfs. To cross verify these 2 modules i did ls ls /lib/modules/6.1.0-rc5/kernel/fs/cifs/cifs.ko /lib/modules/6.1.0-rc5/kernel/fs/cifs/cifs.ko ls /lib/modules/6.1.0-rc5/kernel/fs/nfs/ blocklayout filelayout flexfilelayout nfs.ko nfsv2.ko nfsv3.ko nfsv4.ko ls /lib/modules/6.1.0-rc5/kernel/fs/nfsd/ nfsd.ko ls /lib/modules/6.1.0-rc5/kernel/fs/nfs nfs/ nfs_common/ nfsd/ ls /lib/modules/6.1.0-rc5/kernel/fs/nfs_common/ grace.ko nfs_acl.ko but when i do lsmod i dont see this modules. As per my understanding this modules should installed and start listening with their port. So am I missing something? Regards Rabi
Hi, z
[..] modules should installed and start listening with their port.
So am I missing something?
Yes. For NFS you first have to configure a export i.e. shared folder and afaik in /etc/exports, but this is easily google-able. Maybe you also need some userspace stuff, I think there is a nfs-kernel-server package on debian. When all this is setup the kernelmodule gets loaded, that is maybe done by udev or by systemd, I don't know the details. It should be similar for cifs, in that you need to do some configuration in userspace first. Cheers, -- Richard
participants (2)
-
Rabinarayan Panigrahi -
Richard