DRBD: Difference between revisions

From DWIKI
Line 39: Line 39:
*[http://mattiasgeniar.be/2011/03/24/recovering-from-a-drbd-split-brain-scenario-in-heartbeat/ Recovering from a DRBD split-brain scenario in heartbeat]
*[http://mattiasgeniar.be/2011/03/24/recovering-from-a-drbd-split-brain-scenario-in-heartbeat/ Recovering from a DRBD split-brain scenario in heartbeat]
*http://www.asplund.nu/xencluster/page2.html
*http://www.asplund.nu/xencluster/page2.html
*[http://www.drbd.org/users-guide/s-split-brain-notification-and-recovery.html Split brain notification and automatic recovery
*[https://docs.linbit.com/doc/users-guide-83/s-split-brain-notification-and-recovery/ Split brain notification and automatic recovery
*[http://avid.force.com/pkb/articles/en_US/Compatibility/Troubleshooting-DRBD-on-MediaCentral Troubleshooting DRBD on MediaCentral]
*[http://avid.force.com/pkb/articles/en_US/Compatibility/Troubleshooting-DRBD-on-MediaCentral Troubleshooting DRBD on MediaCentral]



Revision as of 10:31, 11 April 2018

Distributed Replicated Block Device


Links

See also: http://www.gluster.org/ and http://ceph.com/

Support

Tools

drbdadm

drbd-overview

drbdsetup

Docs

Recovery

GFS on DRBD


Cheatsheet

Make device primary

drbdadm primary yourdeviceID

or

drbdsetup /dev/drbdX primary -o

FAQ

sync is slow

show configuration

drbdsetup show


update network settings

drbdsetup net-options 10.0.0.1 10.0.0.2  --sndbuf-size=2M


mount: unknown filesystem type 'drbd'

Usually means your node is not primary. If you're sure you know what you're doing you can use

mount -t ext4 /dev/drbd1 /drbdmount

reload configuration

drbdadm adjust all


show configuration of resource

drbdsetup /dev/drbd0 show