Centos 6.3 DRBD / OpenVZ内核/ userland问题

当我启动我的Centos 6.3服务器的drbd服务时,出现以下错误:

Starting DRBD resources: DRBD module version: 8.3.13 userland version: 8.4.2 preferably kernel and userland versions should match. 

我99%确定这是与我刚刚安装/使用的openVZ内核有关的,因为如果我从grub启动菜单返回到另一个2,就不会发生错误。 为了使OpenVZ和DRBD能够在同一台服务器上一起工作,我需要做些什么?

出于诊断目的, uname -a的结果是这样的:

Linux main2 2.6.32-042stab072.10 #1 SMP Wed Jan 16 18:54:05 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux


如果在安装DRBD时运行命令:

yum --enablerepo=elrepo install drbd83-utils kmod-drbd83

代替

yum --enablerepo=elrepo install drbd84-utils kmod-drbd84

然后错误变成:

 Starting DRBD resources: DRBD module version: 8.3.13 userland version: 8.3.15 preferably kernel and userland versions should match. 

那么如何指定我想要一个更旧版本的drbd 8.3.13而不是8.3.15?

目前使用Repo:

rpm -Uvh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm

ELRepo仍然有旧版本的DRBD,所以你很幸运。 告诉你,你需要一个像这样的特定版本:

 yum install drbd83-utils-8.3.13