Setting up DRBD Block Replication in Debian/Ubuntu Linux

Scope and Purpose

  • To document how to setup an DRBD replication between two Debian/Ubuntu hosts.

Related

Update

This document has been removed. DRBD has a high risk of adverse outcomes (usually split brain).
When this article was first written, DRBD was actually the best solution available given a limited budget, and the author is aware of an installation of DRBD which has been running reliably for 10 yrs or so without issue. But there are much better ways to approach this problem now (including BTRFS). Use one of the newer solutions.

Happy Hacking! --Sam

social