DRBD: Difference between revisions
From DWIKI
m (→FAQ) |
m (→Links) |
||
Line 8: | Line 8: | ||
*http://www.linux-ha.org/wiki/Main_Page | *http://www.linux-ha.org/wiki/Main_Page | ||
*[https://www.howtoforge.com/drbd-8.3-third-node-replication-with-debian-etch DRBD 8.3 Third Node Replication (stacked)] | *[https://www.howtoforge.com/drbd-8.3-third-node-replication-with-debian-etch DRBD 8.3 Third Node Replication (stacked)] | ||
*[https://docs.linbit.com/doc/users-guide-84/s-configure-sync-rate/ Configure sync rate] | |||
See also: http://www.gluster.org/ and http://ceph.com/ | See also: http://www.gluster.org/ and http://ceph.com/ |
Revision as of 14:30, 6 March 2018
Distributed Replicated Block Device
Links
- Homepage
- Building a redundant pair of Linux storage servers using DRBD and Heartbeat
- http://www.asplund.nu/xencluster/page2.html
- http://www.linux-ha.org/wiki/Main_Page
- DRBD 8.3 Third Node Replication (stacked)
- Configure sync rate
See also: http://www.gluster.org/ and http://ceph.com/
Support
Tools
drbdadm
drbd-overview
drbdsetup
Docs
- Resizing drbd xen lvm (dont worry about the meta-data if that's not internal) (bug it seems wrong, using phy: instead of drbd: )
- http://www.asplund.nu/xencluster/page2.html
Recovery
- Recovering from a DRBD split-brain scenario in heartbeat
- [1]
- [http://www.drbd.org/users-guide/s-split-brain-notification-and-recovery.html Split brain notification and automatic recovery
GFS on DRBD
- http://sourceware.org/cluster/wiki/DRBD_Cookbook
- http://www.piemontewireless.net/Storage_on_Cluster_DRBD_and_GFS2
Cheatsheet
Make device primary
drbdadm primary yourdeviceID
or
drbdsetup /dev/drbdX primary -o
FAQ
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