Linux-HA Logo

Howto Build and Install DRBD

These are the steps to build and install DRBD on your system. It should work for SuSE, Debian, RH and other distros with slight modifications.

I tried to indicate what you should type by the prompt-prefix on the below command lines. all#, when it is the same for all distros, and e.g. suse#, when I think this is specific for suse, in which case I try to point out the alternatives for the different distributions in turn.

For FAQs, publications and other stuff see also the documentation subdirectory[2] in the DRBD tarball, the other DRBD[1] related pages, and of course http://www.drbd.org[3] .

Other helpful links:

Prerequisites

Prepare the kernel source tree

Build DRBD kernel module (outside of the kernel source)

Patching DRBD into the kernel

Build DRBD user space tools only

Install it

Configure it

Why ... ?

Troubleshooting

Building a .rpm of it

Building a .deb of it


Hope this helped, cheers and have fun ...

-- LarsEllenberg[10]


CategoryHowto[11]


References

[1]http://www.linux-ha.org/DRBD
[2]http://svn.drbd.org/drbd/trunk/documentation/
[3]http://www.drbd.org
[4]http://www.drbd.org/drbd-article.html
[5]http://www.linux-mag.com/2003-11/toc.html
[6]http://www.drbd.org/support.html
[7]http://www.linux-ha.org/DRBD/FAQ
[8]http://www.linux-ha.org/DRBD/HowTo/PackageForDebian
[9]http://article.gmane.org/gmane.comp.linux.drbd/5616
[10]http://www.linux-ha.org/LarsEllenberg
[11]http://www.linux-ha.org/CategoryHowto


This information provided courtesy of the Linux-HA project at http://linux-ha.org/