DRBD: Difference between revisions

From DWIKI
Line 5: Line 5:
*[http://www.drbd.org/ Homepage]
*[http://www.drbd.org/ Homepage]
*[https://blog.remibergsma.com/2012/09/09/building-a-redundant-pair-of-linux-storage-servers-using-drbd-and-heartbeat/ Building a redundant pair of Linux storage servers using DRBD and Heartbeat]
*[https://blog.remibergsma.com/2012/09/09/building-a-redundant-pair-of-linux-storage-servers-using-drbd-and-heartbeat/ Building a redundant pair of Linux storage servers using DRBD and Heartbeat]
*[https://serverstack.wordpress.com/2017/05/31/install-and-configure-drbd-cluster-on-rhel7-centos7/
*http://www.asplund.nu/xencluster/page2.html
*http://www.asplund.nu/xencluster/page2.html
*http://www.linux-ha.org/wiki/Main_Page
*http://www.linux-ha.org/wiki/Main_Page

Revision as of 15:16, 6 March 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

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