Issue
I found kernel modules "ceph" and "rbd" is configured as "Y"
or "M"
in my centos 7 by looking /boot/config-xxxx file.
Does any guys know what's the best way to add these modules back ?
Do I need to manually download
the kernel source code and configure
these modules to "Y/M"?
Or do I just need to build
there two kernel modules and add
them to /lib64/modules ?
Solution
Firstly,
- I found kernel modules "ceph" and "rbd" is configured as "Y" or "M"
A kernel module is configured as either "Y" or "M". If you grep for the module under /boot/config it would be marked either of those.
If marked "Y" then the module is already built into the kernel as a STATIC MODULE. You need not rebuild it once again.
If marked "M" then the module is still built, but as DYNAMIC MODULE. You can find the module by using "$ lsmod" command or can be found in /lib/modules
So, if you don't find your module listed under /boot/config*** only then you will have to consider building that module
Next, if you don't find the modules listed then you will have to download the kernel source corresponding to the version on your PC and then compile only those modules and install them
Answered By - Santosh A Answer Checked By - Mary Flores (WPSolving Volunteer)