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]
291 questions
20
votes
3 answers
DRBD terrible sync performance on 10GigE
I've set up a pair of identical servers with RAID arrays (8 cores, 16GB RAM, 12x2 TB RAID6), 3 10GigE interfaces, to host some highly available services.
The systems are currently running Debian 7.9 Wheezy oldstable (because corosync/pacemaker are…
wazoox
- 7,156
15
votes
5 answers
How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?
I am trying to setup an active/passive (2 nodes) Linux-HA cluster with corosync and pacemaker to hold a PostgreSQL-Database up and running. It works via DRBD and a service-ip. If node1 fails, node2 should take over. The same if PG runs on node2 and…
MMore
- 553
11
votes
3 answers
Can not switch drbd to secondary
I'm running drbd83 with ocfs2 in centos 5 and planning to use packemaker with them.
Afer some time, I'm facing drbd split brain problem.
version: 8.3.13 (api:88/proto:86-96)
GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by…
favadi
- 537
10
votes
1 answer
Can ZFS using snaphots replace DRBD using sync protocol A?
This question is related to a former, more generic one, but this time I would like to ask more specifically if ZFS can replace DRBD in a use case like mine. That is two servers, both hosting their own VMs or other services while replicating the VMs…
9
votes
2 answers
How to get DRBD nodes out of Connection State StandAlone (and WFConnection)?
My Debian 8.9 DRBD 8.4.3 setup somehow has got into a state where the two nodes cannot connect over the network any more. They should replicate a single resource r1, but immediately after drbdadm down r1; drbadm up r1 on both nodes their /proc/drbd…
rookie09
- 673
9
votes
2 answers
DRBD on raw disk block device
I try to setup DRBD on a raw disk device /dev/sdb without partition table, nor LVM stack PV/VG/LV
As this disk is virtual and hypervisor I use allow on-the-fly disk extension, I do not want to bother with LVM operations or re-partitioning when comes…
Yves Martin
- 989
9
votes
1 answer
How to resize DRBD disk on LVM?
this is my drbd config
resource mysql {
protocol C;
floating 10.100.101.1:7788 {
device /dev/drbd0;
disk /dev/VolGroup00/LogVol02;
meta-disk internal;
}
floating 10.100.101.2:7788 {
…
DmitrySemenov
- 875
- 2
- 16
- 29
9
votes
2 answers
DRBD Proxy / WAN experiences
I'd like to consider the use of DRBD for data replication between a primary and secondary location. The initial plan is to establish a VPN tunnel between the two; the primary end using a slice of a dual T1 link and the secondary location setting on…
Jeff Hengesbach
- 1,762
8
votes
3 answers
Why disable DRBD in Pacemaker cluster
The DRBD documentation (in section Integrating DRBD with Pacemaker clusters) recommends that DRBD should be disabled in a Pacemaker cluster:
If you are employing the DRBD OCF resource agent, it is recommended
that you defer DRBD startup,…
rookie099
- 397
8
votes
1 answer
IPoIB (IP over InfiniBand) vs. RDMA performance
I have partly inherited a Linux HA cluster at the center of which currently serves a connection with DRBD 8 over IPoIB (IP over InfiniBand) between two Debian hosts. It ain't broken, so I won't fix it.
I have also noticed that DRBD 9 supports RDMA,…
rookie09
- 673
8
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…
growse
- 8,185
8
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…
Sergey
- 958
8
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…
itzforu
- 91
8
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,285
8
votes
2 answers
After LVM/DRBD resize df is reporting incorrect information
I have a Debian Xen DomU which has a DRBD mounted partition. I needed to resize this partition from 46G to 50G. I did the following:
Stopped DRBD on the secondary node: /etc/init.d/drbd stop
Increased the underlying LVM dist to 50 GB: lvresize -L…
thepearson
- 880
- 10
- 19