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.

learn more… | top users | synonyms

1
vote
2answers
169 views

Multi Workstation DRBD Setup

I'm considering setting up a way to automate data redundancy and synchronisation of multiple workstations at the office. The way our office is setup, nobody has a fixed desk and anyone can login and ...
2
votes
1answer
634 views

Ganeti and automatic failover

I'm building a simple 2-node cluster with Ganeti+DRBD... What is the recommended way to setup automatic failover? I'm used to Heartbeat, but they say it should be avoided with my setup.
1
vote
1answer
1k views

Best RAID setup for DRBD

I would like to setup a two nodes PROXMOX cluster with DRBD storage. The nodes will be connected by gigabit ethernet. What would be the best storage setup in terms of reliability, performance and ...
1
vote
4answers
2k views

DRBD or similiar RAID over net on slow/limited networks

I am looking for ways to create some kind of file replication without losing too much performance on file operations. A real RAID is not an option due to non-technical constraints. As far as I ...
2
votes
1answer
2k views

Cheap, reliable high availability solution?

We're looking for a way to improve the reliability of one of our servers (Apache/MySQL/Virtualmin setup). So far, we've had every possible kind of clusterfuck with that server in the past six months ...
2
votes
4answers
757 views

A better inexpensive 2 node cluster

There is a Xen cluster that setup that I really like. It consists of 2 nodes (let's call them 1 and 2). Each node has 2 non-raided drives (A and B). A1 replicates to A2 through DRBD and B2 to B1. ...
0
votes
1answer
777 views

Fault-tolerant KVM hosts

I'm going to create a simple virtual hosts infrastructure using QEMU+KVM. It is expected to be very simple, without clouds or any other cool things. Right now the only requirement is the ...
2
votes
1answer
633 views

Ubuntu Server mdadm drbd ocfs2 kvm hangs under heavy file reading

I have deployed four ubuntu 10.04 server. They are coupled two by two in a cluster scenario. on both sides we have software raid1 disks, drbd8 and OCFS2 and on top of it some kvm machines run with ...
1
vote
0answers
184 views

Any production experience with DRDB dual primary?

In order to avoid having to setup a NAS system, I am considering the possibility of setting up a dual-primary with DRBD to handle RAID1 over IP. Concerning filesystems, I know of OCFS and GFS as ...
6
votes
1answer
3k views

Why do I see a large performance hit with DRBD?

I see a much larger performance hit with DRBD than their user manual says I should get. I'm using DRBD 8.3.7 (Fedora 13 RPMs). I've setup a DRBD test and measured throughput of disk and network ...
5
votes
3answers
1k views

What to use for software-based shared file storage?

The situation: setting up a load balancer Currently we have all of our servers (running CentOS Linux) in pairs in our data center: each server has a mirroring server. We don't employ any load ...
3
votes
2answers
357 views

SAN replication

My company has only a single storage box (SuperMicro hardware + chassis with a LSI raid card and 12 SAS 7.2k drive) in its current setup. It runs on linux and we hook it up to our fileserver via ...
3
votes
2answers
3k views

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: ...
3
votes
1answer
572 views

Oracle DB on drbd or SAN replication with Oracle Data Guard

I'm looking to deploy an application based on Oracle DB, and I was assuming that it would be possible to easily do active/passive clustering (with RH Cluster or Heartbeat) and synchronous replication ...
2
votes
3answers
3k views

NFS / DRBD / XFS Performance issues

we have a NFS sitting on top of XFS and drbd which delivers us a horrible performance (about 1MB/s read / write as shown in iostat/iotop) the xfs volume properties are: meta-data=/dev/drbd0 ...
2
votes
1answer
1k views

Best way to mirror data across two-node apache cluster

I'm architecting a new server structure and I plan to have two apache workhorses and a sql database behind both of them. I was wondering what the best way to mirror the data between the apache servers ...
1
vote
1answer
307 views

True memory-synchronous write flushing — drbd protocol B-?

Is there a way in DRBD to make a real fully memory-synchronous cache? I might best explain substituting current explanation with my own one: Protocol B. Memory synchronous (semi-synchronous) ...
0
votes
2answers
407 views

DRDB and NFS: NFS downtime during failover restoration

I'm pretty new to DRBD and NFS, and am in the process of testing a DRDB server with heartbeat to use for our company's NFS share. The entire setup is running fine, with the NFS state directory ...
6
votes
4answers
2k views

DRDB and NFS: is there any efficient way to make failover transparent for NFS

We are implementing DRDB + heartbeat with two servers to have a file system with failover. These servers exposes a NFS service for other servers Currently DRDB is working just fine, but when testing ...
0
votes
1answer
897 views

after split brain recovery filesystem not mounted

I have an active/passive high availability cluster with pacemaker+split brain. After split brain condition I use automatic split-brain recovery to recover my systems. The problem is that since file ...
0
votes
1answer
172 views

drbd installation in Ubuntu 10.04

In the guide on drbd.org, it says that: To get DRBD, you need to enable the universe component for your preferred Ubuntu mirror in /etc/apt/sources.list What does this mean? In my sources.list ...
0
votes
1answer
443 views

drbd module setup ubuntu 10.04 LTS

I am giving the following command. sudo apt-get install drbd8-utils drbd8-module-source \ build-essential module-assistant and when I do, the response I get is Note, selecting ...
1
vote
1answer
139 views

Predict the number of primaries after a split-brain situation

I am trying to avoid a split brain situation using automatic split brain recovery policies explained at http://www.drbd.org/users-guide/s-configure-split-brain-behavior.html How to predict which ...
1
vote
1answer
940 views

Installing DRBD in ubuntu 10.04 LTS

I have installed drbd8-utils, and edited the drbd.conf file in /etc. But when I try to start drbd I get the following error message. root@drbd1:~# service drbd start /etc/drbd.conf:4: Failed to ...
1
vote
1answer
743 views

Snapshot/rollback in Kvm using DRBD

I want to use the HA on a virtual machine on two server using KVM/libvirt. I placed the image on a partition using DRBD. I'm using the qcow2 format and i'm taking the snapshot, using virsh ...
0
votes
1answer
166 views

Setting up DRBD on rackspace servers

Is it possible to do? I have been trying for the last couple of days to no avail. Every place I look says that the two machines have to have a partition of the exact same size, and you cannot ...
0
votes
1answer
237 views

DRBD with primary-to-primary as a RAID1 over TCP/IP with both notes read/write?

In my setup I have two machines. Both of them have almost the same setup, except for the amount of RAM. On both sides I want to designate /dev/sdb1 as the underlying device for a common /dev/drbd0. ...
4
votes
4answers
20k views

How to measure IOwait per device?

I have a server, which exports home directories over NFS. They are on software RAID1 (/dev/sdb and /dev/sdc) and the OS is on /dev/sda. I noticed that my %iowait as reported by top and sar are ...
1
vote
1answer
1k views

Replacement command for hb_takeover

I recently installed the latest DRBD on Ubuntu 10.04 and would like to issue a one-step command to test failover to demonstrate to the powers that be the simplicity of failing over. In previous ...
8
votes
3answers
2k views

After LVM/DRBD resize df is reporting incorrect information

I have a Debian Xen DomU which has a DRBD mounted partition. I needed to resize this partition from 46G to 50G. I did the following: Stopped DRBD on the secondary node: /etc/init.d/drbd stop ...
0
votes
1answer
500 views

DRBD Replication failure

A couple of weeks ago I setup a 2 nodes CRM system with one of the resources managed being MySQL over DRBD. Today for maintenance reasons I restarted both nodes but now they can't connect to each ...
3
votes
3answers
810 views

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 ...
2
votes
2answers
969 views

DRBD stacked resources: recovering from failure

We're running a stacked four-node DRBD setup like this: A --> B | | v v C D This means three DRBD resources running across these four servers. Servers A and B are Xen hosts ...
1
vote
3answers
1k views

When to use MySQL replication or DRBD for HA on Xen VM?

I'm setting up a database which needs to be needs to provide High Availabilty. My primary concern is high performance and robustness (I don't want something that will fail fast and badly). The ...
0
votes
2answers
742 views

mysql with DRBD on rackspace

I am trying to set up a failover secondary MySQL server that is a mirror of my primary MySQL server using DRBD. The problem is that I am on a rackspace cloud server and I need a second partition on ...
1
vote
4answers
1k views

What are the options for synchronizing files between Linux servers in real time without an intermediary or remote share?

Quickfix (an open source FIX Engine) persists state information and sent/received messages in the filesystem of the server (Linux in this case). For disaster recovery, I should like these files to be ...
1
vote
2answers
871 views

Advice for IMAP failover to secondary server

I've recently been given the task of configuring an IMAP based e-mail server solution that incorporates failover to a backup server. I have experience in this area, but it's all been single server ...
0
votes
3answers
82 views

change a file at a time located in different location

Iam very new to linux. suppose i have two file with same name fstab one file is located in /etc and the other is located in /root/ If i make a change in /etc/fstab file the changes has to reflect in ...
0
votes
1answer
433 views

How long does it take to create an OCFS2 filesystem on a 1TB disk?

I'm creating an OCFS2 fs for use with DRBD and it's taking an awful long time to create the filesystem. I haven't done it before so I'm wondering if someone with more experience can relate how long ...
3
votes
3answers
783 views

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 ...
0
votes
1answer
211 views

Is it possible use replicated storage in a network RAID 1 fashion?

I was wondering if there was any way to replicate the functionality of the HP StorageWorks P4000 Virtual SAN Appliance using open source tools? Basically the HP VSA lets you replicate in the same ...
0
votes
2answers
668 views

How should I backup this large volume?

I have a 10TB XFS filesystem on a SLES 10.2 server. I am currently running rsync on it once per day, to sync it with a disk-based online backup on another server. The primary volume is quite busy as ...
2
votes
2answers
388 views

OCFS2 + DRBD8 + MD mirror + PERC 6/iR + SATA 500GB = serious I/O problems?

I have reports that I/O on a certain filesystem, namely /srv/data1, is intermittently horrific. I've seen it myself and it's true. For example, I run 'ls' /srv/data1 and the output takes 30+ seconds ...
0
votes
1answer
2k views

DRBD setup problem

I'm so new to DRBD, please help me fixing the problem below. Enclosed my drbd.conf. Many thanks [root@skonkwerks1 ~]# drbdadm create-md all open(/dev/hdb3) failed: No such file or directory Command ...
2
votes
1answer
1k views

NFS-shared file-system is locking up

Our NFS-shared file-system is locking up. Please feel free to ask any questions you feel relevant. :) At the time, there are a lot of processes in "disk sleep" state, and the load averages on our ...
2
votes
4answers
2k views

DRBD on a file (rather than partition)

We have a number of Xen virtual machines that use disk image files. disk = ["file:/xen/vbd/something.vbd,sda1,w"] We'd like to use DRBD to replicate these files for backup (as opposed to the mess ...
1
vote
1answer
258 views

DRBD resource status

I'm currently using DRBD to replicate a samba file server accross two machines. Sometimes writes fail on the master, when this happens the resource status (using cat /proc/drbd) is: 0: cs:Connected ...
0
votes
1answer
501 views

How to mount a drbd/gfs logical volume from Xen VM?

Any hint on how to do this for primary/primary? I have drbd and gfs running ok, I can see the logical volume from the DomU but dont know how to mount it. Should I install gfs on DomU and mount??? ...
2
votes
2answers
1k views

drbd block device as storage for kvm virtual machine

I've setup a drbd replication between two machines and used a drbd block device as storage for a kvm machine. Everything is running well. However I'm in doubt if this setup is ok to use. From what ...
0
votes
2answers
333 views

Pygrub with DRBD on Xen 3.2

we have a two-node cluster using DRBD 8.2 on CentOS 5.2 64bit. The cluster runs a few VMs on top of Xen 3.2.1, here's the configuration for an Ubuntu Jaunty VM: name = 'dev' bootloader = ...