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@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.
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to