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'm still struggling to get a stacked device to work on DRBD 8.3.0. Config excerpt: common { syncer { rate 70M; verify-alg md5; } protocol C; startup { wfc-timeout 0; ## Infinite! degr-wfc-timeout 120; ## 2 minutes. } disk { on-io-error detach; } net { allow-two-primaries; } } resource ftp01-root { device /dev/drbd2; disk /dev/datavg/ftp01-root; flexible-meta-disk internal; on xen-33-18-02 { address 192.168.250.12:7702; } on xen-33-18-03 { address 192.168.250.13:7702; } } # ftp01-root resource ftp01-root-b { device /dev/drbd2; disk /dev/datavg/ftp01-root; meta-disk /dev/datavg/drbd_log[2]; on xen-80-31-00 { address 192.168.250.14:7702; } on xen-80-31-01 { address 192.168.250.15:7702; } } # ftp01-root-b resource ftp01-root-r { protocol A; stacked-on-top-of ftp01-root { device /dev/drbd102; address 10.80.31.51:7702; } stacked-on-top-of ftp01-root-b { device /dev/drbd102; address 10.80.31.50:7702; } } # ftp01-root-r ========================================= I have the ftp01-root device up and running (currently in use and working fine). I build my new server (xen-80-31-00) and got its device "ftp01-root-b" running. xen-33-18-03 (ftp01-root): 2: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r--- ns:2176532 nr:999236 dw:3190465 dr:2068626 al:79 bm:78 lo:0 pe:0 ua:0 ap:0 e p:1 wo:b oos:1420 xen-80-31-00 (ftp01-root-b): 2: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:4194304 On both hosts, the other node is down, hence the "DUnknown" for the second host. Trying to create the stacked device fails with: root at xen-33-18-03:/etc# drbdadm --stacked up ftp01-root-r /dev/drbd102: Failure: (127) Device minor not allocated Command 'drbdsetup /dev/drbd102 disk /dev/drbd2 /dev/drbd2 internal --set-defaults --create-device --on-io-error=detach' terminated with exit code 10 I do see the device (/dev/drbd102) *is* getting created: brw-rw---- 1 root disk 147, 102 2009-02-02 01:37 /dev/drbd102 Google has not been much help, and I'm really stuck now. Just to make it more fun, it seems the batch of Samsung 750GB drives that are in the xen-33-18-xx servers aren't very good and I'm loosing drives left and right, so I need to get this data moved ASAP. What can I try next? Thanks, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090202/a230453e/attachment.htm>