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]
274 questions
7
votes
1 answer
Dual Primary OCFS2 DRBD encountered split-brain. Is recovery always going to be manual in this case?
I've got two webservers which each have a disk attached. This disk is synced between them using drbd (2:8.3.13-1.1ubuntu1) in 'dual-primary' mode, and over the top of this I run ocfs2 (1.6.4-1ubuntu1) as a cluster filesystem. The nodes communicate…
![](../../users/profiles/68794.webp)
growse
- 7,830
- 11
- 72
- 114
7
votes
3 answers
Extremely slow resync rate of DRBD on dedicated gigabit
I've set up DRBD on 2 nodes, and started using it yesterday. After about an hour, it had resynced 50% of the partition. Another 12 hours passed, and it's up to 79%, and moving VERY slow.
Here's what cat /proc/drbd shows:
1: cs:SyncTarget…
![](../../users/profiles/46712.webp)
Sergey
- 928
- 4
- 10
- 22
7
votes
3 answers
DRBD status :- UpToDate/Diskless
I was configuring two DRBD shares for our servers. I have successfully completed two DRBD share creation, but while checking the status one of the shares status is showing as "UpToDate/Diskless".
drbd-overview command…
![](../../users/profiles/147252.webp)
itzforu
- 81
- 1
- 1
- 6
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…
![](../../users/profiles/139604.webp)
karthick
- 663
- 3
- 7
- 13
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,…
![](../../users/profiles/74402.webp)
spa
- 293
- 2
- 8
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…
![](../../users/profiles/6342.webp)
Kladskull
- 1,265
- 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…
![](../../users/profiles/98413.webp)
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).…
![](../../users/profiles/69956.webp)
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…
![](../../users/profiles/2413.webp)
pQd
- 29,561
- 5
- 64
- 106
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…
![](../../users/profiles/10310.webp)
wazoox
- 6,782
- 4
- 30
- 62
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…
![](../../users/profiles/4884.webp)
Gabriel Sosa
- 1,200
- 1
- 11
- 13
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…
![](../../users/profiles/15627.webp)
yvess
- 413
- 4
- 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?
![](../../users/profiles/174041.webp)
LetMeSOThat4U
- 1,159
- 2
- 14
- 29
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…
![](../../users/profiles/51595.webp)
Alex
- 471
- 7
- 18
5
votes
1 answer
Pacemaker error on failback with drbd
I have two nodes in my cluster with drbd+pacemaker+corosync
When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors and the cluster stops working.
It's a CentOS 6…
![](../../users/profiles/238238.webp)
Leandro Ferreira
- 93
- 7