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.
286
questions
1
vote
1
answer
77
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 ...
1
vote
0
answers
35
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 ...
4
votes
0
answers
99
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....
4
votes
1
answer
405
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 ...
5
votes
2
answers
486
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 ...
4
votes
2
answers
366
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 ...
4
votes
1
answer
620
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 ...
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 ...
7
votes
3
answers
515
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 ...
1
vote
0
answers
79
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 ...
2
votes
1
answer
315
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 ...
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 ...
3
votes
1
answer
476
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 ...
2
votes
2
answers
509
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 ...
2
votes
3
answers
585
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 ...
2
votes
2
answers
745
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 ...
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.
...
1
vote
1
answer
498
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. ...
0
votes
0
answers
126
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 ...
0
votes
1
answer
471
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: ...
3
votes
2
answers
896
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 ...
0
votes
1
answer
788
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 ...
0
votes
1
answer
304
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/...
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 ...
1
vote
0
answers
371
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 ...
3
votes
0
answers
586
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 ...
2
votes
0
answers
135
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 ...
7
votes
2
answers
817
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 ...
0
votes
1
answer
179
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 ...
2
votes
1
answer
149
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 ...
7
votes
3
answers
490
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 ...
1
vote
0
answers
211
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 ...
0
votes
0
answers
622
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 ...
2
votes
0
answers
558
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 ...
1
vote
0
answers
240
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 ...
0
votes
1
answer
370
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 ...
2
votes
0
answers
436
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 ...
3
votes
1
answer
367
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 ...
1
vote
0
answers
237
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 ...
0
votes
1
answer
495
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 ...
1
vote
0
answers
142
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 ...
0
votes
0
answers
110
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 ...
1
vote
1
answer
612
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
1
vote
0
answers
264
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 ...
1
vote
1
answer
96
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 ...