Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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;
        }
}
share|improve this question
    
Where does that hdb3 come from? What does drbdadm dump all show? –  Nils Jun 8 '11 at 19:30

1 Answer 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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.