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
2 votes
1 answer
64 views

Can't get DRBD + TLS working

Debian Bookworm 12.5 DRBD and ktls-utils packages from proxmox. Always was fine, until I enabled tls. ii drbd-dkms 9.2.8-2 all ii drbd-reactor ...
Alex's user avatar
  • 133
1 vote
1 answer
84 views

Move DRBD device to different underlying device without need of re-sync?

I have a pretty large DRBD device connected through WAN. It is a bout 2TB in size and the change rate of the data is pretty low. It is configured on devices as follows: VirtIO disk (*.img) on QNAP ...
Christian's user avatar
1 vote
0 answers
50 views

Filesystem resource failed, Error=timeout during failover resource on pacemaker cluster

I try to setup NFS Active/passive + DRBD on Pacemaker cluster. When i start cluster for the first time every things is ok but when i shutdown master node, resource move to another node but failed on ...
wass's user avatar
  • 11
4 votes
0 answers
107 views

Data Replication Approaches for Hot Standby Architecture

I'm relatively new to the world of storage & filesystems (please forgive me if I'm not using the correct language), and I'm currently researching ways to achieve a hot standby configuration -- i.e....
Pacopenguin's user avatar
4 votes
1 answer
453 views

DRBD config to automatically resolve any split brain

I'm running 2 node cluster with DRBD (active/passive) managed by the drbd systemd service and a small script that mounts volumes whenever a resource becomes primary. I want to configure the DRBD in ...
eagr's user avatar
  • 141
5 votes
2 answers
534 views

Corosync/Pacemaker/DRBD Resilience Tuning

I have a DRBD cluster and one node was switched off for a couple of days. The single node ran fine without a hiccup. When i switch it on I got into a situation where all resources got stopped and one ...
Waslap's user avatar
  • 173
4 votes
2 answers
390 views

Cannot write files into highly available NFS storage created with DRBD and Pacemake. (Permission denied error returned)

I am trying to set up a highly available NFS storage with DRBD and Pacemake (first time doing this), on 2 Fedora 38 VMs. My main guidance on this endeavor were these 2 docs: doc1 doc2 I've managed to ...
Yonoss's user avatar
  • 137
4 votes
1 answer
686 views

Pacemaker cluster does not cleanly failover DRBD-resource (but does so manually)

I had to upgrade a cluster from Ubuntu 16.04. It did work fine on 18.04 and 20.04 but now on 22.04 it does not failover the DRBD-device. Putting the resource into maintenance mode and performing a ...
Stefan Mueller's user avatar
3 votes
2 answers
104 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 ...
Iván Jf's user avatar
  • 121
7 votes
3 answers
557 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 ...
Iván Jf's user avatar
  • 121
1 vote
0 answers
87 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 ...
Iván Jf's user avatar
  • 121
2 votes
1 answer
342 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
  • 187
1 vote
0 answers
114 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
3 votes
1 answer
505 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
  • 31
2 votes
2 answers
527 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
3 votes
3 answers
610 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
  • 31
2 votes
2 answers
777 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
1k 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
1 vote
1 answer
533 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
  • 149
0 votes
0 answers
131 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
476 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
3 votes
2 answers
950 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
809 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
323 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
1k 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
375 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
592 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
139 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
7 votes
2 answers
838 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
188 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
  • 97
2 votes
1 answer
155 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
  • 97
7 votes
3 answers
515 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
  • 97
1 vote
0 answers
218 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
0 votes
0 answers
632 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
568 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
246 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
373 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
446 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
  • 145
3 votes
1 answer
375 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
244 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
513 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
146 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
  • 149
0 votes
0 answers
116 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
630 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
  • 145
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
  • 30.2k
0 votes
1 answer
101 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
483 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
2 votes
2 answers
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
  • 21
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
269 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
2 3 4 5 6