2

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 'drbdmeta /dev/drbd0 v08 /dev/hdb3 internal create-md' terminated with exit code 20
drbdsetup exited with code 20
[root@skonkwerks1 ~]# vi /etc/drbd.conf
global { usage-count no; }
resource repdata {
        protocol C;
        startup { wfc-timeout 0; degr-wfc-timeout   120; }
        disk { on-io-error detach; } # or panic
        # net { cram-hmac-alg "hdd1"; shared-secret "testing"; }
        syncer { rate 10M; }
        on skonkwerks1 {
                device /dev/drbd0;
                disk /dev/hdb1;
                address 172.29.156.1:7788;
                meta-disk internal;
        }
        on skonkwerks2 {
                device /dev/drbd0;
                disk /dev/hdb1;
                address 172.29.156.2:7788;
                meta-disk internal;
        }
}
1
  • Where does that hdb3 come from? What does drbdadm dump all show?
    – Nils
    Jun 8, 2011 at 19:30

1 Answer 1

1

I don't know if it can help, but I used "drbdadm create-md" with the name of the resources, so in your case

  drbdadm create-md repdata

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .