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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

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 ...
Ivan Jufi's user avatar
6 votes
3 answers
117 views

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 ...
Ivan Jufi's user avatar
1 vote
0 answers
47 views

MySql Service Not Starting in cluster with DRBD

I have a high availability cluster with two nodes configured, after a maintenance carried out by an external company when restarting the system my mysql resource stopped working. when executing the ...
Ivan Jufi's user avatar
2 votes
1 answer
84 views

drbd: quorum and dual primary for ocfs2 without fencing?

Due to cephs poor performance on NVME i'm experimenting with OCFS2 on DBRD again. DBRD appears to initially have been built around the idea notifying an application of a hardware failure, and the ...
aep's user avatar
  • 177
1 vote
0 answers
64 views

Recreation of mdadm RAID backing store for drbd yields *The peer's disk size is too small!*

Some years ago, I've set up a storage cluster with stock Debian Linux using mdadm RAID as backing store by using the Debian provided drbd 0.8. Currently there are two RAID6 volumes, comprised of some ...
PoC's user avatar
  • 236
2 votes
1 answer
177 views

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 ...
Bog's user avatar
  • 21
2 votes
2 answers
318 views

NFS Server - Corosync, DRBD & Pacemaker

I have 2 HA NFS server (Ubuntu with CoroSync, Pacemaker & DRBD). Everything is working beautifully with one small issue. If I kill an NFS it fails over seamlessly (NICE!) As the killed node is ...
Matt Neubauer's user avatar
0 votes
2 answers
261 views

How to create shared folder with Linux Samba Cluster that is accessible by Windows? (Two PCs in cluster with one IP)

does anyone know how to create a shared folder in any distribution of Linux that could be accessible by Windows and would be HA (high available)? Background: I have Windows Server cluster and it needs ...
TBS's user avatar
  • 1
1 vote
1 answer
397 views

DRBD does not sync files even though it is UpToDate

I recently set up a DRBD replication on two nodes, did the setup, mounted the drbd disk with "create-md", "up", "connect", etc. I, apparently, was successful when it ...
Froslass's user avatar
0 votes
1 answer
745 views

DRBD does not promote resource on slave node after "pcs cluster stop --all"

I am trying to understand the recovering process of a promotable resource after "pcs cluster stop --all" and shutdown of both nodes. I have a two nodes + qdevice quorum with a DRBD resource. ...
Jose's user avatar
  • 21
0 votes
1 answer
246 views

Stopping DRBD so I can run some tests with a VM

We have two servers I inherited, both running DRBD and each then running KVM virtual machines. I would love to stop a VM running on server1, and bring up just the 1 VM on server2 for some tests. ...
Codejoy's user avatar
  • 97
0 votes
0 answers
85 views

verify my drbd configuration

HI i try to add DRBD in centos7 with my two physical server, when i am try create drbdadm create-md drbd0 error is open(/dev/sdb3) failed: Device or resource busy is it i am mapping correct drive in ...
Ana Mal's user avatar
0 votes
1 answer
345 views

QEMU-KVM, drbd and corosync - VM's doesn't work after reboot

On Debian 9.6 I've got QEMU-KVM Virtualisation. After electricity problems this machine just shut down. After switching it on again I can't start any VM because of this error: error: internal error: ...
fnsq's user avatar
  • 11
0 votes
2 answers
529 views

DRBD with external meta disk

I am attempting to create a failover with DRBD and I have two partitions. Partition 1) /dev/sda4 is setup for the KVMs I will be creating. Partition 2) /dev/sda5 is for the DRBD metadata My config ...
user3098629's user avatar
0 votes
1 answer
539 views

DRBD terminated with exit code 40

I am trying to setup DRBD on Ubuntu with an existing filesystem and when I run sudo drbdadm create-md r0 I get the following error message md_offset 7889832898560 al_offset 7889832865792 bm_offset ...
user3098629's user avatar
0 votes
1 answer
126 views

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/...
user3098629's user avatar
0 votes
1 answer
649 views

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 ...
Mohaddesse Aghasizade's user avatar
1 vote
0 answers
297 views

ZFS disk error on write

our ZFS backup pool is producing strange disk errors when writing data. This pool is replicated via DRBD on a second server with identical hardware which is also experiencing the same errors. This is ...
Edgxxar's user avatar
  • 11
3 votes
0 answers
427 views

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 ...
Matt's user avatar
  • 131
2 votes
0 answers
102 views

Getting DRBD to boot up in a synchronized state from cold boot

I am working in an environment with an embedded High-Availability NVMeoF cluster, and need this cluster to be available within minutes of a cold power-on of all nodes, and trying to set up a RAID-10 ...
Garrett's user avatar
  • 21
6 votes
2 answers
488 views

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 ...
LetMeSOThat4U's user avatar
0 votes
1 answer
130 views

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 ...
inding's user avatar
  • 77
2 votes
1 answer
107 views

What is the process name of WinDRBD?

Now I am using WinDRBD on Windows Server 2019 So far, I have checked whether DRBD is running with the command below. drbdadm status foo However, I need to write some code in the batch file to check ...
inding's user avatar
  • 77
5 votes
2 answers
287 views

Why does WinDRBD become Diskless/StandAlone (both node)

I have a question. Currently, this OS is Windows Server 2019. The volume configuration is Raid-5. The two servers are connected by a heartbeat network Both nodes were mirrored using WinDRBD. Both ...
inding's user avatar
  • 77
1 vote
0 answers
171 views

How to setup a failover server with KVM and DRBD

I have a server that I am virtualizing using the Virtualizor control panel. I need to set up a failover server that syncs everything on the first server to the second server. I am using DRBD to sync ...
user3098629's user avatar
-1 votes
1 answer
396 views

How do you configure mixed replication modes in DRBD 9 [closed]

Device stacking was deprecated in DRBD9, and I am unsure how to define different replication protocols between multiple peers in a DRBD 9 configuration. Specifically, I'm trying to configure two nodes ...
aditya mishra's user avatar
0 votes
0 answers
473 views

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 ...
user2309000's user avatar
2 votes
0 answers
382 views

I'm looking for a way to configure distance clustering of postfix and dovecot

I currently have a postfix server and dovecot server sharing files from an NFS server in the UK and the same config in Switzerland. I tried to mailsync but that appeared to lose emails, so then I ...
banjo67xxx's user avatar
1 vote
0 answers
181 views

DRBD Operations With Many Files Slow

I need to set up file replication between two geographically different DC. My first idea was with GlusterFS, but it doesn't work well with high latency Blicks, and its geo replication is not ...
Rafael Arcanjo's user avatar
0 votes
1 answer
272 views

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 ...
Dovid Bender's user avatar
2 votes
0 answers
330 views

drbd - diskless node won't join cluster unless started first

Good day, I am trying to set up a 3-node DRBD9 cluster 2 nodes actually have a disk the 2 nodes with disk have a direct link via a cross cable and a switch connection with third node third node is ...
Qippur's user avatar
  • 135
3 votes
1 answer
251 views

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 ...
user46170's user avatar
1 vote
0 answers
145 views

Preparing storage for DRBD

I am trying to set up high availability Linode server and using DBRD for data replication. I created primary partition using fdisk. But I get the error WARNING: Re-reading the partition table failed ...
basic123's user avatar
0 votes
1 answer
329 views

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 ...
Luis's user avatar
  • 1
1 vote
0 answers
71 views

I had some drbd (i guess block devices?) on my server, after a crash they are all gone

I am not a sys admin but inherited some servers setup with no documentation in linux. Today the server died in a way it was unresponsive and the VMs running on it down...after a good few hours the ...
Codejoy's user avatar
  • 97
0 votes
0 answers
77 views

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 ...
Rubinsh's user avatar
  • 101
1 vote
1 answer
456 views

cheap, commodity hardware based, highly available distributed filesystem [closed]

I have two PCs running linux, a 2 TB disk each and one small gigabit switch. To build a highly available system on the cheap, I resorted to this stack: custom 5.6 kernel with ZFS and DRBD9 on both ...
Qippur's user avatar
  • 135
7 votes
2 answers
2k views

In 2020 - are there any viable Linux block-level replication alternatives for DRBD? [closed]

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 ...
pQd's user avatar
  • 29.9k
0 votes
1 answer
74 views

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 ...
PopSpe's user avatar
  • 3
0 votes
0 answers
398 views

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 ...
Perovic 's user avatar
1 vote
1 answer
3k views

Pacmaker can't start the DRBD Error "not configured"

I´m setting up a 3 node DRBD Cluster with Pacemaker and corosync on CentOS 8. I set up 3 IP resources, 1 apache webserver resource and now I want to set up my drbd resource. The Drbd is working if ...
ses's user avatar
  • 11
0 votes
1 answer
1k views

NFS cluster corosync + pacemaker + drbd

I made up a NFS cluster with pacemaker DRBD and corosync with two nodes everything was working fine, on my tests trying different fail over scenario my cluster is completely broken, I can't no more ...
tba's user avatar
  • 21
1 vote
0 answers
212 views

Building a DRDB secondary - DM seems to keep grabbing the device?

I am trying to rebuild a DRDB secondary on a new Debian Stretch server that I could never successfully make primary. /proc/drbd always reports the secondary as Diskless after a reboot. The drbd ...
ferg's user avatar
  • 31
1 vote
1 answer
92 views

drdb giving error when being restarted in the configuration process

I am setting up HA following this tutorial https://www.howtoforge.com/tutorial/ubuntu-drbd-heartbeat-high-availability/ but when i try to sudo systemctl restart drbd after sudo drbdadm create-md r0 it ...
Perovic 's user avatar
2 votes
1 answer
5k views

/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 ...
Umesh Upadhyay's user avatar
3 votes
1 answer
478 views

DRBDManage with Pacemaker on CentOS 7

I have 2 CentOS 7.6 nodes which I have configured with drbd, drbdmanage and pacemaker for active/passive failover. during a failure my vip and drbd service failover from primary to secondary the next ...
Sajirupee's user avatar
2 votes
1 answer
1k views

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 ...
Piknik's user avatar
  • 53
1 vote
0 answers
87 views

Cryptodevice on top of DRBD with CentOS7

I have created a replicated drbd device. On top, I have create an encrypted volume with cryptsetup and finally formatted with ext4. Additionally, I am using a keyfile to be able to automount the ...
Christian's user avatar
0 votes
1 answer
567 views

Installed DRDB Utilities but there is no /dev/drbd0 device

Installed DRDB Utilities but there is no /dev/drbd0 device even after running the command drbdadm create-md r0. Is there a command to create /dev/drbd0 device?
user's user avatar
  • 1
0 votes
1 answer
332 views

Synchronize Oracle database on VM under KVM using DRBD

We have two physical servers and we want to use KVM to create some VMs. One of the VMs will contain an Oracle 12 database and we want to make it highly available. We thought of using DRBD to ...
Wodel's user avatar
  • 51

1
2 3 4 5 6