[DRBD-user] DRDB over Software RAID1 - Failure: (104) Can not open backing device

Martin Krammer, New Media Interactive mk at nmi1.com
Mon Aug 19 10:15:35 CEST 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I have two webservers running debian 7 (stable) with software RAID1 and DRBD 8.3.11.
On both servers there are the following shares, which should be connected:

On stella: /dev/md4                                               919014380 204664 872126436   1% /srv
On laura: /dev/md4                                               442143360 153168996 266514700  37% /srv

Later, the data of laura should be syncronized on /dev/drdb1.

The conf-file looks like:

resource r1 {
    on stella {
        device    /dev/drbd1;
        disk      /dev/md4;
        address   192.168.1.1:7789;
        meta-disk /dev/sdb3[0];
    }
    on laura {
        device    /dev/drbd1;
        disk      /dev/md4;
        address   192.168.1.2:7789;
        meta-disk /dev/sdb2[0];
    }
}

If I try to attach...

root at stella:/srv# drbdadm attach r1

  --==  Thank you for participating in the global usage survey  ==--
The server's response is:

node already registered
1: Failure: (104) Can not open backing device.
Command 'drbdsetup 1 disk /dev/md4 /dev/sdb3 0 --set-defaults --create-device --on-io-error=detach' terminated with exit code 10

Could anybody help me please?

Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130819/756e9889/attachment.htm>


More information about the drbd-user mailing list