drbd on centos 6
drbd on centos 6
Hi everybody!
I'm worked on centos 6.3 with 2.6.32-279.2.1.el6.i686 kernel, and I have install drbd with yum.
My drbd version is drbd-8.4.1-32.el6.i686.
My problem is, when I want load my drbd module, my centos could not find it.
I search all packages available with "yum search drbd". The result of this command his :
drbdlinks.noarch : A program for managing links into a DRBD shared partition
drbd.i686 : Distributed Replicated Block Device.
......
drbd-kmdl-2.6.32-279.el6.i686 : Distributed Redundant Block Device.
So I upgrade my kernel with the last version available, so before I use "modprode brbd" and it's already the same issue.... --> FATAL: Module drbd not found.
My repository are:
atrpms Centos 6 - i386 - ATrpms
atrpms-testing Centos 6 - i386 - ATrpms
base CentOS-6 - Base
epel Extra Packages for Enterprise Linux 5 - i386
extras CentOS-6 - Extras
rpmforge RHEL 6 - RPMforge.net - dag
updates CentOS-6 - Updates
Did you have a great issue for lead and continue to configure the DRBD solution.
Best regard,
Jonas.
I'm worked on centos 6.3 with 2.6.32-279.2.1.el6.i686 kernel, and I have install drbd with yum.
My drbd version is drbd-8.4.1-32.el6.i686.
My problem is, when I want load my drbd module, my centos could not find it.
I search all packages available with "yum search drbd". The result of this command his :
drbdlinks.noarch : A program for managing links into a DRBD shared partition
drbd.i686 : Distributed Replicated Block Device.
......
drbd-kmdl-2.6.32-279.el6.i686 : Distributed Redundant Block Device.
So I upgrade my kernel with the last version available, so before I use "modprode brbd" and it's already the same issue.... --> FATAL: Module drbd not found.
My repository are:
atrpms Centos 6 - i386 - ATrpms
atrpms-testing Centos 6 - i386 - ATrpms
base CentOS-6 - Base
epel Extra Packages for Enterprise Linux 5 - i386
extras CentOS-6 - Extras
rpmforge RHEL 6 - RPMforge.net - dag
updates CentOS-6 - Updates
Did you have a great issue for lead and continue to configure the DRBD solution.
Best regard,
Jonas.
drbd on centos 6
drbd-kmdl from ATrpms is kernel version specific, that is, for each kernel update you need to install a corresponding version of the kmdl package.
I recommend you look into drbd from ELRepo ( http://elrepo.org/tiki/kmod-drbd84 ). It is kABI-tracking, meaning it survives kernel updates transparently.
I recommend you look into drbd from ELRepo ( http://elrepo.org/tiki/kmod-drbd84 ). It is kABI-tracking, meaning it survives kernel updates transparently.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: drbd on centos 6
Note that ATrpms, EPEL, and RPMforge are mutually incompatible and that mix of 3rd party repos is virtually guaranteed to be problematic. Throwing ELRepo into the mix (without [elrepo-extras]) may or may not make things worse, but neither will it help with conflicts and dependency issues. Use of the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url] is recommended. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores. Better yet, disable all 3rd party repos by default and use "yum --enablerepo ..." to install or update from a particular repo.
Re: drbd on centos 6
Great,
So I restore my virtual machine and I add repository atrmps and elrepo and I search all packages available and the result is :
============================== N/S Matched: drbd ===============================
drbd83-utils.i686 : Management utilities for DRBD %{version}
drbd84-utils.i686 : Management utilities for DRBD
kmod-drbd83.i686 : drbd83 kernel module(s)
kmod-drbd84.i686 : drbd84 kernel module(s)
drbd.i686 : Distributed Replicated Block Device.
drbd-kmdl-2.6.32-220.13.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.13.1.el6.centos.plus.i686 : Distributed Redundant Block
: Device.
drbd-kmdl-2.6.32-220.17.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.17.1.el6.centos.plus.i686 : Distributed Redundant Block
: Device.
drbd-kmdl-2.6.32-220.23.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.23.1.el6.centos.plus.i686 : Distributed Redundant Block
: Device.
drbd-kmdl-2.6.32-220.4.2.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.7.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-279.el6.i686 : Distributed Redundant Block Device.
I could just install drbd.i686, but I install drbd83-utils or drbd84-utils? and kmod-drbd83 or kmod-drbd84?
I didn't need to install drbd-kmdl-2.6.32-279.el6? My kernel is 2.6.32-279.1.1.el6.
Kind regards,
Jonas
So I restore my virtual machine and I add repository atrmps and elrepo and I search all packages available and the result is :
============================== N/S Matched: drbd ===============================
drbd83-utils.i686 : Management utilities for DRBD %{version}
drbd84-utils.i686 : Management utilities for DRBD
kmod-drbd83.i686 : drbd83 kernel module(s)
kmod-drbd84.i686 : drbd84 kernel module(s)
drbd.i686 : Distributed Replicated Block Device.
drbd-kmdl-2.6.32-220.13.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.13.1.el6.centos.plus.i686 : Distributed Redundant Block
: Device.
drbd-kmdl-2.6.32-220.17.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.17.1.el6.centos.plus.i686 : Distributed Redundant Block
: Device.
drbd-kmdl-2.6.32-220.23.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.23.1.el6.centos.plus.i686 : Distributed Redundant Block
: Device.
drbd-kmdl-2.6.32-220.4.2.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-220.7.1.el6.i686 : Distributed Redundant Block Device.
drbd-kmdl-2.6.32-279.el6.i686 : Distributed Redundant Block Device.
I could just install drbd.i686, but I install drbd83-utils or drbd84-utils? and kmod-drbd83 or kmod-drbd84?
I didn't need to install drbd-kmdl-2.6.32-279.el6? My kernel is 2.6.32-279.1.1.el6.
Kind regards,
Jonas
Re: drbd on centos 6
You would need kmod-drbd83 and drbd83-utils from ELrepo. You also need to make sure that all components of drbd come from the same repository, do not mix and match the kernel module and drbd utilities from different repositories.
I would also recommend the use of 8.3 for the moment as it's more stable than 8.4. 8.4.0 was fairly broken, 8.4.1 has fixed a number of those bugs but even more remain and 8.4.2 is not yet released.
Edit: if you are already using 8.4 then downgrading to 8.3 needs some explicit work done [u]before[/u] you remove 8.4 so don't do it without finding out more!
I would also recommend the use of 8.3 for the moment as it's more stable than 8.4. 8.4.0 was fairly broken, 8.4.1 has fixed a number of those bugs but even more remain and 8.4.2 is not yet released.
Edit: if you are already using 8.4 then downgrading to 8.3 needs some explicit work done [u]before[/u] you remove 8.4 so don't do it without finding out more!
Re: drbd on centos 6
Thank for your reply TrevorH,
How I can make sure that all components come from the same repository? If I want use elrepo I do for example : yum install --elrepo? or something like that?
For the drbd8.3 he is available on ELrepo again?
Jonas?
How I can make sure that all components come from the same repository? If I want use elrepo I do for example : yum install --elrepo? or something like that?
For the drbd8.3 he is available on ELrepo again?
Jonas?
Re: drbd on centos 6
The easy way to make sure all components come from the same repo is to remove the other repos from your configuration or add include= or exclude= lines to their /etc/yum.repos.d files. You can also use --enablerepo= and/or --disablerepo= parameters to yum for temporary overrides.
Yes, drbd83 is in ELrepo for el6 but please look up to see what you need to do to go backlevel [u]before[/u] you uninstall 8.4 as it needs some preparation that can only be done with 8.4 already installed - something about al extents I seem to recall.
Yes, drbd83 is in ELrepo for el6 but please look up to see what you need to do to go backlevel [u]before[/u] you uninstall 8.4 as it needs some preparation that can only be done with 8.4 already installed - something about al extents I seem to recall.
Re: drbd on centos 6
I did have install drbd, I will restored my virtual machine when my module was not found.
The good way can I do, is install drbd.i686, drbd83-utils.i686, kmod-drbd83.i686 that's it?
I didn't need to install drbd-kmdl-2.6.32-279.el6.i686? (although I do not know what it is.. ^^)
The good way can I do, is install drbd.i686, drbd83-utils.i686, kmod-drbd83.i686 that's it?
I didn't need to install drbd-kmdl-2.6.32-279.el6.i686? (although I do not know what it is.. ^^)
Re: drbd on centos 6
I think you'll find that you only need 2 packages: from ELrepo you need drbd83-utils and kmod-drbd83 OR from atrpms you need drbd and drbd-kmdl. They are the same thing by different names in the different repos.
Re: drbd on centos 6
All rights thank a lot!
Jonas.
Jonas.