Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi I am trying to run drbd and having problems where the secondary machine crashes when I start mkfs.ext3 on the primary after drbdadm is activated on both and sync'ed. The primary machine is still up and the disk is formatted and can be mounted and written. Any clues? thx, Kishore --------------------------------------------------------------------- Here is my setup: machines: lab-140 and lab-140 OS: RHEL 6.4 (Santiago) DRBD: 8.4.4 Here are the steps I followed: [root at lab-140]# drbdadm create-md res0 // Succesful [root at lab-141]# drbdadm create-md res0 // Succesful [root at lab-140]# drbdadm up res0 [root at lab-141]# drbdadm up res0 [root at lab-140]# drbdadm -- --overwrite-data-of-peer primary res0 [root at lab-140]# watch -n 1 cat /proc/drbd // Full sync finished eventually [root at lab-140]# cat /proc/drbd [root at lab-140]# mkfs.ext3 /dev/drbd1 //***************** // Succesful on lab-140, but this operation killed lab-141 //***************** I have added the /proc/drbd messages below: -------------------------------------------------------------------------- [root at lab-140]# cat /proc/drbd version: 8.4.4 (api:1/proto:86-101) GIT-hash: 599f286440bd633d15d5ff985204aff4bccffadd build by kishore at lab-sj1-140, 2013-10-30 17:12:56 1: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r----- ns:125030988 nr:0 dw:127128328 dr:125032056 al:970 bm:7632 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:125030988 -------------------------------------------------------------------------- -------------------------------------------------------------------------- // Before mkfs.ext3 was called on lab-140 [root at lab-141]# cat /proc/drbd version: 8.4.4 (api:1/proto:86-101) GIT-hash: 599f286440bd633d15d5ff985204aff4bccffadd build by root at lab-sj1-141, 2013-10-30 17:27:24 1: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r----- ns:0 nr:125030988 dw:125030988 dr:0 al:0 bm:7632 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0 -------------------------------------------------------------------------- My conf file is below: ----------------- /var/drbd/drbd.conf-------------- global { usage-count yes; } common { net { protocol C; # protocol timeout max-epoch-size max-buffers unplug-watermark # connect-int ping-int sndbuf-size rcvbuf-size ko-count # allow-two-primaries cram-hmac-alg shared-secret after-sb-0pri # after-sb-1pri after-sb-2pri always-asbp rr-conflict # ping-timeout data-integrity-alg tcp-cork on-congestion # congestion-fill congestion-extents csums-alg verify-alg # use-rle } } resource res0 { on lab-140{ device /dev/drbd1; disk /dev/sdb; address 192.168.10.1:7789; meta-diskinternal; } on lab-141{ device /dev/drbd1; disk /dev/sdb; address 192.168.10.2:7789; meta-diskinternal; } } ----------------- /var/drbd/drbd.conf-------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20131108/b736f1dc/attachment.htm>