DRBD is a Distributed Replicated Block Device. Developed by LinBit it is now part of the standard-linux-kernel. Regard it as RAID 1 across an IP-network using any type of block device. Normally only the "primary" side can write.
Questions tagged [drbd]
283 questions
7
votes
1 answer
Pacemaker DRBD resource not getting promoted to master on any node
First off, I'm no linux specialist, I've been following tutorials and been working with the help of google, this worked out fine until now, but currently I'm stuck with a problem.
I'm using CentOS 6.5 and DRBD version 8.4.4.
I have two nodes running…

Infi
- 71
- 1
- 1
- 3
7
votes
5 answers
DRBD vs. GlusterFS for replication
I need to build a solution to host internal git repositories. It needs to supports hundreds of thousands (or more) repositories.
I plan on using multiple "dumb" servers with a shared storage, so basically when a client is trying to access a…

Gilad Novik
- 307
- 2
- 3
- 10
7
votes
1 answer
DRBD for HA Server in Small Office Questions
Backround: We are in need of a HA server in a small office environment and are looking at DRBD to provide it. We only have about 100GB that needs to be on the HA server and server load will be extremely low. The data will probably increase about…

Damon
- 429
- 2
- 12
7
votes
3 answers
DRBD configuration
I was going through the configuration of DRBD on two nodes. The DRBD has already configured, but I would like to enable the dual primary mode feature.
On drbd site I have seen that it requires the use of a shared cluster file system that utilizes a…

karthick
- 683
- 3
- 7
- 14
7
votes
2 answers
Magento hosting on a budget
I have to do a setup for Magento. My constraint is primarily ease of setup and fault tolerance/fail over. Furthermore costs are an issue. I have three identical physical servers to get the job done. Each server node has an i7 quad core, 16GB RAM,…

spa
- 303
- 2
- 9
7
votes
2 answers
DRBD Not syncing between my nodes
Some version info:
Operating system is Ubuntu 11.10, on EC2, kernel is 3.0.0-16-virtual and the application info is:
Version: 8.3.11 (api:88)
GIT-hash: 0de839cee13a4160eed6037c4bddd066645e23c5 build by buildd@allspice, 2011-07-05 19:51:07
Getting…

Kladskull
- 1,255
- 5
- 15
- 32
7
votes
1 answer
Why do I see a large performance hit with DRBD?
I see a much larger performance hit with DRBD than their user manual says I should get. I'm using DRBD 8.3.7 (Fedora 13 RPMs).
I've setup a DRBD test and measured throughput of disk and network without DRBD:
dd if=/dev/zero of=/data.tmp bs=512M…

BHS
- 223
- 2
- 7
7
votes
4 answers
How to measure IOwait per device?
I have a server, which exports home directories over NFS. They are on software RAID1 (/dev/sdb and /dev/sdc) and the OS is on /dev/sda. I noticed that my %iowait as reported by top and sar are relatively high (compare to the rest of the servers).…

grs
- 2,235
- 6
- 28
- 36
7
votes
2 answers
In 2020 - are there any viable Linux block-level replication alternatives for DRBD?
I'm researching how can we implement near-realtime replication from primary datacenter to a disaster recovery site. Data that would get replicated would be:
Images of KVM VMs
MySQL and PostgreSQL databases
For the sake of simplicity let's assume…

pQd
- 29,981
- 6
- 66
- 109
6
votes
2 answers
Setting up DRBD with only one node
I need to migrate an existing storage server running Debian 6, with many TB of data, to a HA setup. I can't simply shut down this server for any prolonged time (HA is required after all).
I plan to migrate this server to a DRBD cluster. I can't buy…

wazoox
- 6,918
- 4
- 31
- 63
6
votes
4 answers
DRDB and NFS: is there any efficient way to make failover transparent for NFS
We are implementing DRDB + heartbeat with two servers to have a file system with failover.
These servers exposes a NFS service for other servers
Currently DRDB is working just fine, but when testing we switch from one server to another the mounted…

Gabriel Sosa
- 1,220
- 1
- 13
- 13
6
votes
3 answers
DRBD Cluster nodes not configured (StandAlone)
I have a HA cluster with two nodes, node one is the primary and node 2 is its mirror. I have a problem in the mysql resource since my nodes are not synchronized
drbd-overview
Node Principal:
0:home Connected Primary/Secondary UpToDate/UpToDate C…

Iván Jf
- 111
- 5
6
votes
3 answers
For kvm host images. GFS2 or OCFS2 with drbd8?
I want a shared filesystem on top of drbd8 on two nodes.
The servers run ubuntu 9.10.
I googled a lot, but couldn't find an clear trend what the web community prefers.
It's seems that OCFS2 is more used at the moment.
Which filesystem is more…

yvess
- 413
- 6
- 14
6
votes
2 answers
Force one drbd node to StandAlone
I need to take a box that is part of 2-node DRBD cluster offline for hardware servicing.
How do I force the primary (the other?) DRBD node to StandAlone so that I can turn the other node down?
Just turn it off? Is it safe to do that?

LetMeSOThat4U
- 1,371
- 2
- 17
- 35
5
votes
3 answers
Replicated shared filesystem
I'm looking into setting up a shared filesystem/file server on AWS (EC2) infrastructure that offers replication and fairly painless failover. This filesystem would host potentially millions of files that are a few megs in size. Those files would be…

Alex
- 471
- 7
- 18