Building DRBD9

From Alteeve Wiki
Revision as of 18:24, 30 October 2015 by Nyz (talk | contribs) (Created page with "{{warning|1=Please note! This is a work in progress and very well may contain mistakes. Do not follow this and push into production without ample testing first!}} = Dependenc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Warning: Please note! This is a work in progress and very well may contain mistakes. Do not follow this and push into production without ample testing first!

Dependencies required

For this process, you'll need git, make, gcc, autoconf, automake, drbd-utils and probably a lot of other things. I'll get a full list soon.

Process

In your preferred directory (~ is fine), git clone git://git.linbit.com/drbd-9.0.git.

CD into the created directory, and 'make'.

If there are any packages missing, you'll be notified here (sometimes the notifications can be somewhat cryptic. yum whatprovides $file should quickly sort you out).

Once that has completed, as root 'make install', and the drbd kernel module is ready.

If you have the EPEL repo installed, the drbd-utils package available there should suffice, but if that nor the AN! repo are available, the same process can be applied to the drbd-utils git tree found at git://git.linbit.com/drbd-utils.git