Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello, I got DRBD installed on a x86_64 system with Novell's Boxed SUSE 10.0. I used the "Quick start guide for DRBD 7-0", including the README and INSTALL. I then installed the newly generated RPM. (Before the RPM installation, drbdadm was not found by the command line commands). On the command line section on page 2, all worked up to the cmd='modprobe drbd; ....' Excecuting the last few commands, before the point "The excerpt from dmesg (or syslog) ..." deliver the following screen output: L10-4:~ # left=10.9.8.3 L10-4:~ # right=10.9.8.4 L10-4:~ # cmd='modprobe drbd; drbdadm up all; dmesg | tail; cat /proc/drbd' L10-4:/usr/src/drbd-0.7.14/scripts # scp drbd.conf $left:/etc/drbd.conf Password: drbd.conf 100% 10KB 10.4KB/s 00:00 L10-4:/usr/src/drbd-0.7.14/scripts # scp drbd.conf $left:/etc/drbd.conf Password: drbd.conf 100% 10KB 10.4KB/s 00:00 (Changed part of the example script is below) Now the commands: 1 ########### L10-4:/usr/src/drbd-0.7.14/scripts # ssh root@$left -- "$cmd" Password: drbd: initialised. Version: 0.7.14 (api:77/proto:74) drbd: SVN Revision: 1989 build by root at L10-3, 2005-11-25 12:55:58 drbd: registered as block device major 147 drbd0: resync bitmap: bits=234130672 words=3658292 drbd0: size = 893 GB (936522688 KB) drbd0: 893 GB marked out-of-sync by on disk bit-map. drbd0: No usable activity log found. drbd0: drbdsetup [11134]: cstate Unconfigured --> StandAlone drbd0: drbdsetup [11139]: cstate StandAlone --> Unconnected drbd0: drbd0_receiver [11140]: cstate Unconnected --> WFConnection version: 0.7.14 (api:77/proto:74) SVN Revision: 1989 build by root at L10-3, 2005-11-25 12:55:58 0: cs:WFConnection st:Secondary/Unknown ld:Consistent ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 1: cs:Unconfigured 2 ########## L10-4:/usr/src/drbd-0.7.14/scripts # ssh root@$right -- "$cmd" Password: drbd: registered as block device major 147 drbd0: resync bitmap: bits=234130672 words=3658292 drbd0: size = 893 GB (936522688 KB) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=51824 DF PROTO=TCP SPT=4413 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076B14280000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=51826 DF PROTO=TCP SPT=4413 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076B1A040000000001030302) drbd0: 893 GB marked out-of-sync by on disk bit-map. drbd0: No usable activity log found. drbd0: drbdsetup [21100]: cstate Unconfigured --> StandAlone drbd0: drbdsetup [21105]: cstate StandAlone --> Unconnected drbd0: drbd0_receiver [21106]: cstate Unconnected --> WFConnection version: 0.7.14 (api:77/proto:74) SVN Revision: 1989 build by root at L10-4, 2005-11-23 18:39:16 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 1: cs:Unconfigured 3 ############ L10-4:/usr/src/drbd-0.7.14/scripts # ssh root@$left -- "drbdadm primary all" Password: -- NO Screen response -- 4 ############ L10-4:/usr/src/drbd-0.7.14/scripts # ssh root@$right -- dmesg | tail ; cat /proc/drbd Password: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=31801 DF PROTO=TCP SPT=4423 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076BD48A0000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=33822 DF PROTO=TCP SPT=4424 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076BE8120000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=27630 DF PROTO=TCP SPT=4425 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076BFB9A0000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=24478 DF PROTO=TCP SPT=4426 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076C0F220000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=4529 DF PROTO=TCP SPT=4427 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076C22AA0000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=25829 DF PROTO=TCP SPT=4428 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076C36320000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=57359 DF PROTO=TCP SPT=4429 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076C49BA0000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=460 DF PROTO=TCP SPT=4430 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076C5D420000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=19076 DF PROTO=TCP SPT=4431 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076C70CA0000000001030302) SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0f:ea:88:f1:9d:00:0f:ea:ea:3f:eb:08:00 SRC=10.9.8.3 DST=10.9.8.4 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=43314 DF PROTO=TCP SPT=4432 DPT=7788 WINDOW=5840 RES=0x00 SYN URGP=0 OPT (020405B40402080A076C84520000000001030302) version: 0.7.14 (api:77/proto:74) SVN Revision: 1989 build by root at L10-4, 2005-11-23 18:39:16 0: cs:WFConnection st:Secondary/Unknown ld:Inconsistent ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 1: cs:Unconfigured So, what do I do now? The Gigabit connection works well, as I communicate with the servers via VNC over it as well as synch. I've stopped and started drbd a few times and redid the command line steps again, to no avail. Any help is welcome. Thanx a lot ... :-) Al My drbd.conf file (only the edited part of the example): Up to this point no changes. ... ......... #*************************** # Edited - Al # # disk /dev/sdb2; # address 10.9.8.4:7788; #**************************** on L10-4 { device /dev/drbd0; disk /dev/sdb2; address 10.9.8.4:7788; meta-disk internal; # meta-disk is either 'internal' or '/dev/ice/name [idx]' # # You can use a single block device to store meta-data # of multiple DRBD's. # E.g. use meta-disk /dev/hde6[0]; and meta-disk /dev/hde6[1]; # for two different resources. In this case the meta-disk # would need to be at least 256 MB in size. # # 'internal' means, that the last 128 MB of the lower device # are used to store the meta-data. # You must not give an index with 'internal'. } #*************************** # Edited - Al # # disk /dev/sdb2; # address 10.9.8.3:7788; #*************************** on L10-3 { device /dev/drbd0; disk /dev/sdb2; address 10.9.8.3:7788; meta-disk internal; } } # # yes, you may also quote the resource name. # but don't include whitespace, unless you mean it :) # #************************* # Skipping the rest - Al * #************************* skip { ...... }