Questions tagged [drbd]

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.

283 questions
3
votes
4 answers

DRBD on a file (rather than partition)

We have a number of Xen virtual machines that use disk image files. disk = ["file:/xen/vbd/something.vbd,sda1,w"] We'd like to use DRBD to replicate these files for backup (as opposed to the mess of MySQL replication and nightly rsyncs we have at…
Marcus Downing
  • 788
  • 10
  • 18
3
votes
2 answers

There is no replication in a HA Cluster

I had the problem of unrelated data aborting in a HA cluster and my Mysql resource was in standalone on both nodes, I managed to solve the problem and both nodes are synchronized, the problem now is that when checking the var/lib/mysql directory On…
Iván Jf
  • 111
  • 5
3
votes
1 answer

DRBD on LVM or LVM on DRBD with multiple disks

I have 4 identical servers each with 1+3 SSD for data (no RAID) + 2x10G & 2x1G net. I want to have an active-passive NFS setup with a single export. Probably I will go with 2 clusters so 2 active NFS servers/exports which will be mounted by many…
Bog
  • 31
  • 3
3
votes
0 answers

Add a server to an already running DRBD9 configuration

I am on CentOS7 and I have an existing two-cluster HA node running pacemaker (1.1.23-1.el7_9.1) and DRBD (kmod-drbd90-9.0.22-3.el7_9). The backing partition for the DRBD drive is LUKS encrypted. We are adding a third server to the stack, but after…
Matt
  • 131
  • 1
3
votes
1 answer

Corosync-Pacemaker no split brain

I'm trying to set up a cluster of two nodes using CentOS 7, Corosync, Pacemaker and pcsd. I can migrate resources manually from one node to another, but if I turn off primary node (by unplugging the power cable), secondary node does not become…
user46170
  • 51
  • 3
2
votes
1 answer

/dev/sdb1 Device or resource busy

I am testing 2 node drbd cluster in virtualbox . I have attached a virtual disk (/dev/sdb/) and mounted it on /mnt/drbd0 directory. While creating a resource by drbdadm create command I am getting resource (/dev/sdb1) is busy error. there is no…
2
votes
1 answer

DRBD IOWait - high i/o-disk and iowait, but low traffic and r/w-disk

I need your help. I have the DRBD-cluster (9.6.0, kernel 3.10.0-957.21.3, CentOS 7). In this cluster I have two drbd-disks: drbd0 for SSD drbd1 for HDD With drbd0 (SSD, sda) all good - it's in UpDate status. But with drbd1 (HDD, sdb) I see next: #…
Piknik
  • 53
  • 5
2
votes
1 answer

DRBD Over LVM MKFS and accessing device

I admit I am in the experimental stage at this point, but as I read the documentation, this shouldn't be a problem. I am configuring DRBD over LVM. As I understand the drbd00.res file, I should be accessing the device as /dev/drbd00. But, that…
OracleDBA
  • 27
  • 4
2
votes
3 answers

How to get DRBD to automatically start after reboot, mount volume, start service, and configure primary/secondary

I have a great working version of DRBD across two Debian Stretch servers which I created by following this awesome guide: https://www.howtoforge.com/setting-up-network-raid1-with-drbd-on-debian-squeeze-p2/ But after each reboot I have to redo a…
2
votes
1 answer

High availability mirroring without separate partitions or LVM on Ubuntu 14.04 LTS

I'm on AWS with my clients for a long time now but I'm going to need cut costs now to keep providing my services. On AWS I'm using RSync to keep some folders synchronized and DRDB to provide high availability with transparent failover having always…
Mark
  • 47
  • 7
2
votes
0 answers

DRBD - Protocol A slower than B and C

I have a simple, not quite so simple question: why the heck is protocol A slower than B and C in my setup? I mean, I've been stuck on this for over a week now, tried "all" the configurations, played with max-buffers max-epoch-size, sndbuf-size,…
2
votes
2 answers

DRBD weird speed dips

couple of weeks ago I made a test setup for DRBD on couple of servers. The speed was fixed 90MB/800Mb as per my config for initial sync. Now I have reinstalled the OS (CentOS 7.4) to do final install on the servers and I am seeing speed issue (as…
bakasan
  • 103
  • 1
  • 11
2
votes
1 answer

RHEL7.4 and DRBD 9.0/8.4 Installation

I have a fresh RHEL7.4 Server installation on which I'm trying to install DRBD 9.0 from elrepo. My server is running the latest kernel: 3.10.0-693.1.1.el7.x86_64, yet kmod-drbd90 wants to install kernel 3.10.0-514.26.2 as a dependency: --->…
2
votes
1 answer

DRBD 8.3 replace a failed disk

I need to replace a DRBD backend disk due to worn out but unsure how to proceed. Setup is as follows: server0 <----> server1 Server0 is the one affected, DRBD process has been stopped on it. Server1 is the master server at the moment, it's DRBD…
ptrh
  • 369
  • 1
  • 2
  • 10
2
votes
1 answer

Can't run drbdadm up with DRBD 8.4 on CentOS 7.3

Nodes: node1 node2 Use this way installed DRBD on both nodes: rpm -ivh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org yum -y install drbd84-utils kmod-drbd84 Added new hard…
cloud_cloud
  • 165
  • 2
  • 4
  • 15