DRBD setup problem

Posted by cuthieu on Server Fault See other posts from Server Fault or by cuthieu
Published on 2010-08-27T17:03:29Z Indexed on 2014/06/07 9:27 UTC
Read the original article Hit count: 293

Filed under:

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;
        }
}

© Server Fault or respective owner

Related posts about drbd