Proxmox 2 and DRBD 8.4

This is more along the lines of notes from my installation with proxmox 2.0 and drbd 8.4.
I have really wanted this release primarily because it supports multiple DRBD volumes on a single host. For example, if you are adding on several drives or partitions that you would like to run as separate resources within DRBD, 8.4, I believe is the first release to have this capability. If you are looking for real-time synchronization between nodes on separate servers, this is the way to go.

Main page that I referred to was documentation on

Although, not all packages and exact sequence of commands was clearly laid on this page so hopefully this helps.

Git clone first

  • apt-get install build-essential autoconf debhelper debconf-utils docbook-xml docbook-xsl dpatch flex git module-assistant
  • git clone git://
  • cd drbd-8.4
  • dpkg-buildpackage -rfakeroot -b -uc
  • cd /usr/src
  • dpkg -i drbd*.deb
  • m-a a-i drbd8

That should do it.

More to come on the configuration files.

7 thoughts on “Proxmox 2 and DRBD 8.4

  1. Hi i need install pve-headers-2.6.32-12-pve before the last step. i try this install beacause i have vry very very slow performance with the default repository package.
    I will post my test result if this correct this issue.

    Thank you for your post


    • Awesome. I am bit late on the response here but that would be great to see. I have been doing customer installs of the latest versions of the drbd source repository – what a pain in the neck. If you want to post your results, please include your system specs, container specs (if that applies), OS, container OS, nic card. I’ll post my specs shortly. I have this up and running on about 5 machines.

    • Got it up to about 32MB/second after almost 2 straight days of tweaking. I’ll share my findings soon as well as my secret sauce for openvz containers.

  2. If drbd 8.3.x is already installed, Step 5 should be “cd /root” instead of “cd /usr/src”. Otherwise it will just re-install the 8.3.x version.

  3. Well… slight error in my previous. It depends which folder you start the whole process from. That’s where you need to cd to.