Building DRBD 8.4.x on CentOS 6.x
- yum install gcc libxslt kernel-headers kernel-devel-`uname -r` make wget rpm-build flex
- mkdir /root/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
- wget http://oss.linbit.com/drbd/8.4/drbd-8.4.x.tar.gz
- tar xzf drbd-8.4.x.tar.gz
- cd drbd-8.4.x
- ./configure
- make rpm
- make km-rpm
- Install desired packages from /root/rpmbuild/RPMS/x86_64 or .../i386