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
3
votes
1 answer
Automatic recovery with discarded data from NetworkFailure-interrupted DRBD sync
Suppose I have two DRBD devices provisioned. When the second node connects, it syncs the data from the first (primary/master) node.
During this sync, the primary node loses power.
After the Primary node is lost and the original Secondary is the only…

javanix
- 247
- 4
- 15
3
votes
0 answers
How to provision DRBD to libvirt storage pool?
I want to expose DRBD replicated storage (2 nodes Active/Passive) to libvirt as a storage pool for qcow2 files. However, I have the following error message:
virsh pool-create-as qcow2 --type=logical --target=/dev/drbd1
error: Failed to create pool…

Alexander
- 131
- 3
3
votes
1 answer
DRBD/LVM/Xen Setup not re-syncing/updating
I have a problem with a HA Cluster running on CentOS 5.4 x86_64.
Software used:
DRBD 8 (kmod-drbd-xen-8.0.16-5.el5_3.x86_64 / drbd-8.0.16-5.el5.centos)
Heartbeat
LVM2
Xen 3.1.2
My DRBD configuration syncs a logical volume. When I first create the…
SBO
3
votes
1 answer
How do I migrate Proxmox VM to another computer in a cluster?
Original:
I am running Proxmox 4.2 with a Debian 8 (Jessie) VM. I have DRBD running between two desktop computers in a cluster and I have a third node in the cluster which is a laptop not running DRBD. It is going to be used for offline migration…

Michael
- 141
- 2
- 8
3
votes
1 answer
Ganeti disks degraded drbd cs:NetworkFailure
I have an instance (with 2disks) on Ganeti with both disks degraded (probably due to a connection problem?).
This instance was working correctly for many years until this morning.
On my master
$ gnt-instance info myinstance
...
-disk/0
on…

dalf
- 163
- 6
3
votes
2 answers
Pacemaker and DRBD on Hyper-V
I need to setup two-node Web cluster for Apache web site. I have Hyper-V infrastructure and only two nodes.
The points are load-balancing and high availability.
I installed and configured two VMs with CentOS 7, Pacemaker cluster, MariaDB 10. I…

Evgeniy
- 163
- 2
- 8
3
votes
1 answer
What is the proper way to shutdown an iSCSI target with connected clients?
iSCSI with two DRBD primary nodes is a bad idea to use if the two paths get concurrent write requests. But I am thinking about using this idea as backend storage for an ESXi 5.5U2 host.
I already did test this with primary/secondary configurations…

Nils
- 7,695
- 3
- 34
- 73
3
votes
1 answer
High Availability/Failover hardware hookup
I'm learning about clustering and high availability techniques, and stumbled upon an article about configuring a network with a pair of servers, using DRBD for replication and heartbeat for monitoring and failover. The article states that I should…

Fractalizer
- 35
- 7
3
votes
1 answer
GFS2 over DRBD automount
I have 2 nodes Proxmox cluster.
For KVM images I use DRBD device with GFS2 on it.
Everything works fine except GFS2 automounting after server restart.
I put in fstab:
/dev/drbd0 /cluster/drbd0 gfs2 rw,noatime,nodiratime,_netdev 0 0
Manually it…

Anton
- 115
- 10
3
votes
0 answers
LVM DRBD Shared between nodes proxmox
Context :
I have proxmox cluster with the volume group shared with drbd for the VM - KVM.
I have a problem with drbd. Indeed, when a node disconnect, the associate link between the differents nodes is broken. Impacts are :
Status drbd nodes : cs:…

cyt
- 31
- 1
- 5
3
votes
2 answers
DRBD experimentation and virtualization
This was one of those thoughts that were tickling the back of my mind.
I'm working on a home testbed of a high-availability cluster consisting of just computers, not a SAN or NAS for storage, just "if I wanted a server or two that were available…

Bart Silverstrim
- 31,172
- 9
- 67
- 87
3
votes
1 answer
DRBD Not starting on Fresh AWS 64-bit Ubuntu 11.10
I followed these instructions precisely (I've done this from scratch using 11.04 and 11.10 with the same results using AMI's )
(using 11.04) Community AMI: ami-e016ca89
https://help.ubuntu.com/11.04/serverguide/C/drbd.html
and
(using 11.10)…

Kladskull
- 1,255
- 5
- 15
- 32
3
votes
2 answers
mkfs.ext3: Wrong medium type while trying to determine filesystem size
When I try to format the /dev/drbd0 with mkfs.ext3 I get the error message:
mkfs.ext3: Wrong medium type while trying to determine filesystem
size.
I found a solution here:…

Saban Gül
- 33
- 1
- 5
3
votes
3 answers
vmware vmdk disk problem
I have a VMware ESXi 4 server and 2 storage servers (mounted via nfs).
Between the storage servers (Fedora 14) is a drbd cluster (dual primary) and ocfs2 filesystem; also every server has a local partition with an ext4 filesystem, both are mounted…

dmtr
- 31
- 2
3
votes
3 answers
Mysql replication using drbd and heartbeat
I am setting up a backup server for an already existing Ubuntu server setup.
I'm running DRBD (protocol C) together with heartbeat, which is configured so that in case of an error the MySQL5 Server on the backup server starts.
I want to start the…
user58513