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
0 answers
14 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. ...
user avatar
  • 11
0 votes
1 answer
24 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. ...
user avatar
  • 67
0 votes
0 answers
22 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 ...
user avatar
0 votes
1 answer
73 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: ...
user avatar
  • 11
0 votes
2 answers
66 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 ...
user avatar
0 votes
1 answer
113 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 ...
user avatar
0 votes
1 answer
26 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/...
user avatar
0 votes
1 answer
146 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 ...
user avatar
1 vote
0 answers
61 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 ...
user avatar
  • 11
3 votes
0 answers
137 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 ...
user avatar
  • 131
2 votes
0 answers
34 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 ...
user avatar
  • 21
6 votes
2 answers
132 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 ...
user avatar
0 votes
1 answer
33 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 ...
user avatar
  • 77
2 votes
1 answer
56 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 ...
user avatar
  • 77
5 votes
2 answers
122 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 ...
user avatar
  • 77
1 vote
0 answers
103 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 ...
user avatar
-1 votes
1 answer
183 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 ...
user avatar
0 votes
0 answers
257 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 ...
user avatar
2 votes
0 answers
214 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 ...
user avatar
1 vote
0 answers
68 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 ...
user avatar
0 votes
1 answer
160 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 ...
user avatar
2 votes
0 answers
147 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 ...
user avatar
  • 135
3 votes
1 answer
142 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 ...
user avatar
1 vote
0 answers
77 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 ...
user avatar
0 votes
1 answer
202 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 ...
user avatar
  • 1
1 vote
0 answers
49 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 ...
user avatar
  • 67
0 votes
0 answers
38 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 ...
user avatar
  • 101
1 vote
1 answer
334 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 ...
user avatar
  • 135
7 votes
2 answers
1k 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 ...
user avatar
  • 29.4k
0 votes
1 answer
55 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 ...
user avatar
  • 3
0 votes
0 answers
188 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 11
0 votes
1 answer
819 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 ...
user avatar
  • 21
1 vote
0 answers
182 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 ...
user avatar
  • 21
1 vote
1 answer
81 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
3 votes
1 answer
411 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 ...
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 ...
user avatar
  • 53
1 vote
0 answers
75 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 ...
user avatar
0 votes
1 answer
343 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 avatar
  • 1
0 votes
1 answer
216 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 ...
user avatar
  • 1
2 votes
1 answer
642 views

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 ...
user avatar
2 votes
0 answers
261 views

Reconnecting secondary node in shared-nothing active-passive DRBD cluster after secondary reboot

I'm using DRBD (config below) and tried to test reliability of the setup. I have rebooted secondary node (host1) and noticed it went into this state: host1: 0:r0/0 WFConnection Secondary/Unknown ...
user avatar
1 vote
1 answer
174 views

Is it possible to maintain a configuration of an arbitrary resource using pacemaker cluster

What I understood is that with resource agents (which are exactly same on all nodes), pacemaker can start/stop resource on any node. But can we also use it to sync a configuraton file in all nodes in ...
user avatar
  • 569
8 votes
3 answers
2k views

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 ...
user avatar
  • 335
1 vote
0 answers
618 views

Preventing LVM from accessing "low-level" devices of DRBD

Context: Active/passive DRBD setup. KVM VMs on LVM volumes. LVM using /dev/drbd0 for physical volume and volume group. During tests of the setup I have: Shut down Secondary node. Rebooted Primary ...
user avatar
0 votes
1 answer
2k views

Reconnecting secondary DRBD node

I have set up test DRBD installation succesfully, with switching, synchronization etc working correctly. But I also wanted to test the reliatbility of the setup, so I gave it a good "trashing" like ...
user avatar
2 votes
3 answers
9k views

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-...
user avatar
1 vote
3 answers
568 views

Nagios/Icinga: Don't show CRITICAL for DRBD partitions on standby node

I've set up a pacemaker/corosync ha-cluster in a failover configuration with two nodes: productive and standby. There are three DRBD partitions. Everything works fine so far. I'm using Nagios NRPE on ...
user avatar
  • 1,054
0 votes
1 answer
220 views

DRBD: Where am I losing 13% of disk space?

I have 2 DRBD based storage clusters. And I am somehow not able to utilize 13% of the underlying disk space. The disk in both configs is sda4 Server1: sda4 size: 859G, drbd0 size:788G, drbd0 space ...
user avatar
  • 93

1
2 3 4 5 6