[DRBD-user] ioctl(,SET_STATE,) failed: No such device or address

Peter Müller p.mueller at operamail.com
Sun Jan 8 20:33:54 CET 2006

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


Hi all!

I have a little cluster with 2 nodes. The first node is called "ubuntu01.domain.de" (10.0.0.1) and the second "ubuntu02.domain.de" (10.0.0.2).

My /etc/drbd.conf looks like this:
resource drbd0 {
        protocol C;

        startup {
                degr-wfc-timeout 120; # 2 minutes.
        }

        disk {
                on-io-error detach;
        }

        net {
        }

        syncer {
                rate 100M;
                group 1;
                al-extents 257;
        }

        on ubuntu01.domain.de {
                device /dev/drbd0;
                disk /dev/hda5;
                address 10.0.0.1:7788;
                meta-disk internal;
        }

        on ubuntu02.domain.de {
                device /dev/drbd0;
                disk /dev/hda5;
                address 10.0.0.2:7788;
                meta-disk internal;
        }
}

I have tried to get both nodes to run without any success. So I have done this:

ubuntu02.domain.de
$ drbdsetup --on-io-error detach /dev/drbd0 disk /dev/hda5
$ drbdsetup /dev/drbd0 net 10.0.0.2 10.0.0.1 C

ubuntu01.domain.de
$ drbdsetup --on-io-error detach /dev/drbd0 disk /dev/hda5
$ drbdsetup /dev/drbd0 net 10.0.0.1 10.0.0.2 C
$ drbdsetup /dev/drbd0 primary

After "drbdsetup /dev/drbd0 primary" I get this error message:
ioctl(,SET_STATE,) failed: No such device or address
Device not configured

This is what I get when I run "cat /proc/drbd" on ubuntu01.domain.de:
version: 0.7.11 (api:77/proto:74)
SVN Revision: 1807 build by lars at barkeeper1, 2005-06-07 19:33:30
 0: cs:Unconfigured

And this on ubuntu02.domain.de:
version: 0.7.11 (api:77/proto:74)
SVN Revision: 1807 build by lars at barkeeper1, 2005-06-07 19:33:30
 0: cs:Unconfigured

Anyone has an idea what I have done wrong? I am absolutely distressed.

Thank you very much!

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze



More information about the drbd-user mailing list