[DRBD-user] DRBD 8.0.5 Installation in RHEL 5

Rui Meireles rmeireles at tec.dsr.telecom.pt
Wed Aug 8 19:29:12 CEST 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


1st approach (compiling):

Ok, I've installed kernel-xen-devel.x86_64.

These are the output of my commands:

 

[root at nmctv drbd]# make clean all

rm -rf .tmp_versions

rm -f *.[oas] *.ko .*.cmd .*.d .*.tmp *.mod.c .*.flags .depend .kernel*

 

    Calling toplevel makefile of kernel source tree, which I believe is in

    KDIR=/lib/modules/2.6.18-8.1.8.el5xen/build

 

test -f ../scripts/adjust_drbd_config_h.sh && \

         KDIR=/lib/modules/2.6.18-8.1.8.el5xen/build O= /bin/bash
../scripts/adjust_drbd_config_h.sh

/lib/modules/2.6.18-8.1.8.el5xen/build /usr/src/drbd-8.0.5/drbd

make[2]:
/usr/src/kernels/2.6.18-8.1.8.el5-xen-x86_64/Documentation/DocBook/Makefile:
No such file or directory

make[2]: *** No rule to make target
`/usr/src/kernels/2.6.18-8.1.8.el5-xen-x86_64/Documentation/DocBook/Makefile
'.  Stop.

make[1]: *** [help] Error 2

/usr/src/drbd-8.0.5/drbd

 

  Using unmodified drbd_config.h

 

make -C /lib/modules/2.6.18-8.1.8.el5xen/build
SUBDIRS=/usr/src/drbd-8.0.5/drbd  modules

make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.8.el5-xen-x86_64'

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_buildtag.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_bitmap.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_proc.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_worker.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_receiver.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_req.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_actlog.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/lru_cache.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_main.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_strings.o

  CC [M]  /usr/src/drbd-8.0.5/drbd/drbd_nl.o

  LD [M]  /usr/src/drbd-8.0.5/drbd/drbd.o

  Building modules, stage 2.

  MODPOST

  CC      /usr/src/drbd-8.0.5/drbd/drbd.mod.o

  LD [M]  /usr/src/drbd-8.0.5/drbd/drbd.ko

make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.8.el5-xen-x86_64'

mv .drbd_kernelrelease.new .drbd_kernelrelease

Memorizing module configuration ... done.

 

 

 

 

[root at nmctv drbd-8.0.5]# make install

make[1]: Entering directory `/usr/src/drbd-8.0.5/user'

install -d /sbin/

if getent group haclient > /dev/null 2> /dev/null ; then        \

                install -g haclient -m 4750 drbdsetup /sbin/ ;  \

                install -g haclient -m 4750 drbdmeta /sbin/ ;   \

                install -m 755 drbdadm /sbin/ ;         \

        else                                                            \

                install -m 755 drbdsetup /sbin/ ;               \

                install -m 755 drbdmeta /sbin/ ;                \

                install -m 755 drbdadm /sbin/ ;                 \

        fi

install: cannot stat `drbdsetup': No such file or directory

install: cannot stat `drbdmeta': No such file or directory

install: cannot stat `drbdadm': No such file or directory

make[1]: *** [install] Error 1

make[1]: Leaving directory `/usr/src/drbd-8.0.5/user'

make: *** [install] Error 2

 

 

Can you tell me how to get around this?

 

 

 

2nd approach (RPM):

> What's wrong with drbd 8.0.4 in the 'extras' repository?

> 

> drbd.x86_64                              8.0.4-1.el5.centos     extras

> kmod-drbd.x86_64                         8.0.4-1.2.6.18_8.1.8.e extras

> kmod-drbd-xen.x86_64                     8.0.4-1.2.6.18_8.1.8.e extras

 

I could not find these RPMs, I thought there was no DRBD RPMs for RHEL5. How
can I add [extras] repository to yum?

 

 

Thanks a lot to all those who are helping me.

Rui Meireles

 

 

-----Original Message-----
From: drbd-user-bounces at linbit.com [mailto:drbd-user-bounces at linbit.com] On
Behalf Of Ross S. W. Walker
Sent: quarta-feira, 8 de Agosto de 2007 15:51
To: Luciano Rocha; drbd-user at linbit.com
Subject: RE: [DRBD-user] DRBD 8.0.5 Installation in RHEL 5

 

> -----Original Message-----

> From: drbd-user-bounces at lists.linbit.com 

> [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Luciano Rocha

> Sent: Wednesday, August 08, 2007 9:38 AM

> To: drbd-user at lists.linbit.com

> Subject: Re: [DRBD-user] DRBD 8.0.5 Installation in RHEL 5

> 

> On Wed, Aug 08, 2007 at 01:59:28PM +0100, Rui Meireles wrote:

> >  

> > 

> > Hi. I'm trying to install DRBD 8.0.5 in RHEL (Red Hat 

> Enterprise Linux) 5.

> > 

> > I can't find rpms for this distribution, so I downloaded 

> drbd-8.0.5tar.gz

> > 

> >  

> > 

> > I had the original OS kernel 2.6.18-8.el5xen. I then used 

> Package Updater to

> > update no a newer kernel 2.6.18-8.1.8.el5xen.

> 

> The kernel development headers and build scripts are in the package

> kernel-xen-devel-2.6.18-8.1.8.el5.

 

What's wrong with drbd 8.0.4 in the 'extras' repository?

 

drbd.x86_64                              8.0.4-1.el5.centos     extras

kmod-drbd.x86_64                         8.0.4-1.2.6.18_8.1.8.e extras

kmod-drbd-xen.x86_64                     8.0.4-1.2.6.18_8.1.8.e extras

 

-Ross

 

______________________________________________________________________

This e-mail, and any attachments thereto, is intended only for use by

the addressee(s) named herein and may contain legally privileged

and/or confidential information. If you are not the intended recipient

of this e-mail, you are hereby notified that any dissemination,

distribution or copying of this e-mail, and any attachments thereto,

is strictly prohibited. If you have received this e-mail in error,

please immediately notify the sender and permanently delete the

original and any copy or printout thereof.

 

_______________________________________________

drbd-user mailing list

drbd-user at lists.linbit.com

http://lists.linbit.com/mailman/listinfo/drbd-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20070808/6c1303d3/attachment.htm>


More information about the drbd-user mailing list