Giter Club home page Giter Club logo

Comments (4)

rck avatar rck commented on July 27, 2024

The 8.4.10 (from modinfo) is the one your distribution ships. Piraeus/LINSTOR requires a 9.x.y module. And that is what the module loader built and inserted for you.

from piraeus.

phoenix-bjoern avatar phoenix-bjoern commented on July 27, 2024

Yes, this is what we suspected as well. But how can we check which module is actually used? The Docker container checks the output of cat /proc/drbd which shows 9.0.27, while modinfo shows the older version. Which one is active?
And: Is it necessary to get them in sync and so, how can we do that?

from piraeus.

rck avatar rck commented on July 27, 2024

hm, are you sure you know what modinfo is and what it does? it shows information about the module "modprobe would load" from /lib/modules/$version. And usually this is what you end up using when you use modprobe. But if you insmod a module, the actual version you inserted has nothing to do with what modinfo gives you, that is just not what modinfo does.

The one from cat /proc/drbd is active. always.

The ways how to use this are:

  • don't load the drbd module on the host as this would be the too old one and let the module load container compile/insert the module for you via insmod. Don't care about modinfo.
  • install a drbd 9 kernel module (e.g., 9.0.27) on your host (depends on how you do that, don't forget depmod), and load this "blessed" module at boot. If you installed it correctly, the *.ko will end in an "update" directory (every distri calles it differently), and modprobe (and yes then also modinfo) will pick it up. Then you don't need to use the module load container because you already have a drbd 9 module loaded. The loader then basically is a NOOP. You can and should still use the load container as it also makes sure other modules get loaded (lvm,...).

modinfo and cat /proc/drbd will only be in sync if you install the module on the host. If you don't, it gets insmoded by the container and modinfo does not know or care about it at all. HTH

from piraeus.

phoenix-bjoern avatar phoenix-bjoern commented on July 27, 2024

Thanks for clarification, then we should be good :-)

from piraeus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.