Re: Building DRBD 8.3.4 against OpenVZ kernel 2.6.18-164.2.1.el5.028stab066.7 [message #38258 is a reply to message #38242] |
Wed, 02 December 2009 09:52 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
triangle
Messages: 6 Registered: May 2009
|
Junior Member |
|
|
Hmm... Is your answer really correct or do I get something wrong?
The OpenVZ kernel 2.6.18-164.2.1.el5.028stab066.7 contains - as expected - only the kernel module of DRBD:
[root@hostname ~]# rpm --query --filesbypkg ovzkernel-2.6.18-164.2.1.el5.028stab066.7 | grep drbd
ovzkernel /lib/modules/2.6.18-164.2.1.el5.028stab066.7/kernel/drivers/ block/drbd
ovzkernel /lib/modules/2.6.18-164.2.1.el5.028stab066.7/kernel/drivers/ block/drbd/drbd.ko
[root@hostname ~]#
The DRBD userland tools (such as /sbin/drbdadm) are obviously provided by another package. When running the OpenVZ kernel 2.6.18-128.1.1.el5.028stab062.3 (which contains DRBD 8.3.0 kernel code)
I am using the package drbd-8.3.0-3 to get these tools:
[root@hostname ~]# rpm --query --filesbypkg drbd-8.3.0-3
drbd /etc/drbd.conf
drbd /etc/ha.d/resource.d/drbddisk
drbd /etc/ha.d/resource.d/drbdupper
drbd /etc/rc.d/init.d/drbd
drbd /etc/xen/scripts/block-drbd
drbd /sbin/drbdadm
drbd /sbin/drbdmeta
drbd /sbin/drbdsetup
drbd /usr/lib/drbd/notify-out-of-sync.sh
drbd /usr/lib/drbd/notify-split-brain.sh
drbd /usr/lib/drbd/notify.sh
drbd /usr/lib/drbd/outdate-peer.sh
drbd /usr/lib/drbd/snapshot-resync-target-lvm.sh
drbd /usr/lib/drbd/unsnapshot-resync-target-lvm.sh
drbd /usr/sbin/drbd-overview.pl
drbd /usr/share/cluster/drbd.metadata
drbd /usr/share/cluster/drbd.sh
drbd /usr/share/doc/drbd-8.3.0
drbd /usr/share/doc/drbd-8.3.0/COPYING
drbd /usr/share/doc/drbd-8.3.0/README
drbd /usr/share/doc/drbd-8.3.0/drbd.conf
drbd /usr/share/doc/drbd-8.3.0/file.list
drbd /usr/share/man/man5/drbd.conf.5.gz
drbd /usr/share/man/man8/drbd.8.gz
drbd /usr/share/man/man8/drbdadm.8.gz
drbd /usr/share/man/man8/drbddisk.8.gz
drbd /usr/share/man/man8/drbdmeta.8.gz
drbd /usr/share/man/man8/drbdsetup.8.gz
drbd /var/lib/drbd
[root@hostname ~]#
BTW: The RPM package drbd-8.3.0-3 built fine against the OpenVZ kernel 2.6.18-128.1.1.el5.028stab062.3.
Please correct me if I am misunderstanding something. Otherwise, I am still looking for some advise related to my original question.
Thanks, David
|
|
|