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
0
votes
1 answer
DRBD config difference between device and disk
I am configuring DRBD but I don't understand what the difference is between device and disk.
In the config file I have the following:
on server1 {
device /dev/drbd0;
disk /dev/sda;
address IP HERE;
…

user3098629
- 53
- 4
0
votes
1 answer
in drbd 9 cant parse node-id or connection
according to https://linbit.com/drbd-user-guide/drbd-guide-9_0-en/ and http://manpages.ubuntu.com/manpages/bionic/man5/drbd.conf-9.0.5.html
I'd configured my drbd config . my config:
resource c_ssd1_drbd1 {
device /dev/drbd1;
disk …
0
votes
1 answer
How to compiling packages from source?
I need to install DRBD in a server without internet. (redhat 7.x)
It's a sad place where you can't use yum.....
You have to compile using the source.
So, I have the following questions:
Is it possible to install all the currently uploaded…

inding
- 77
- 2
0
votes
0 answers
Failed configuring active-active shared disk with drbd and pacemaker
I followed Clusters from Scratch instructions, chapters 8 and 9, to configure an active-active, shared disk cluster with drbd and pacemaker. The difference with that tutorial is that I am using OCFS2 instead of glusterfs.
Without pacemaker it works…

user2309000
- 21
- 5
0
votes
1 answer
Unable to create selinux policy to allow drbdadm to run
In snmpd.conf I have
exec drbd_cstate /sbin/drbdadm cstate all
exec drbd_role /sbin/drbdadm role all
exec drbd_state /sbin/drbdadm dstate all
With selinux set to permissive if I were to run the SNMP walk command (/usr/bin/snmpwalk -v 2c -c PUBLIC…

Dovid Bender
- 427
- 2
- 7
- 19
0
votes
1 answer
How to configure properly DRBD and KVM replication?
I have two CentOS KVM servers with some virtual machines: A and B
I am running as Primary on A and Secondary on B. When A fails I am able to switch DRBD on B to Primary and access the disk images there (qcow2 images). However, I am having some…

Luis
- 1
0
votes
0 answers
Geo cluster - quorum vs Booth
I configured a geo cluster using pacemaker and DRBD. The cluster has 3 different nodes, each node is in a different geographic location. The locations are pretty close to one another and the communication between them is fast enough for our…

Rubinsh
- 101
- 1
0
votes
1 answer
DRBD Single Primary Ignore File Types
Is it possible to have an exclusion list for file types (maybe even specific files) so that they wont try to sync with the secondary nodes? I have looked at the DRBD configuration file and cannot find anything about it. If not is there another…

PopSpe
- 3
- 1
0
votes
0 answers
DRBD node 2 doesn't become primary when node 1 restarts heartbeat but becomes Secondary/Secondary
I have an issue with heartbeat & drbd deployment for MySQL with 2 nodes on ubuntu 18.4.
It used to work fine, but now it seems like its working, node1 has floating IP, MySQL runs on node1,drbd syncs, but when I restart heartbeat on node1, node2…

Perovic
- 21
- 2
-1
votes
2 answers
DRBD Setup on 2 node CentOS 6.8
I have installed and configured DRBD on 2 centos nodes and after creating the metadata when i try to start the drbd service, its complaining that the module is not loaded. See below for more details. Any help is appreciated.
[root@nfs-node1…

Syed Quadri
- 1
- 2
-1
votes
1 answer
MySQL - data inside vm on shared storage?
I'm planning on moving all my VMs to shared storage, and I have a question about how to deal with a MySQL VM:
Currently the size of the VM image is 100GB, where most of the space is taken up by the MySQL data. I feel there are two options when…

James
- 325
- 2
- 11
- 22
-1
votes
2 answers
Backup a DRBD resource (compressed and incremental)
I have a DRBD resource, Primary and Secondary (EXT4 - No LVM)
What is the more suitable way to do a backup on the DRBD resource with compressed data and incremental backup?

Jose Nobile
- 461
- 1
- 5
- 14
-2
votes
1 answer
What's the best way to sync folders across 03 or more webservers?
I have 03 servers and I want to sync some folders across them. I'm using DRBD + OCFS2 for a year or so, but it doesn't support more than 02 servers right now. I read about GlusterFS and CEPH, but there are a lot of bad reviews about them related to…

Steve Lacerda
- 15
- 2