Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, It was detached.. now: on redhat: # drbdsetup /dev/drbd1 show disk { size 7018381312s; # bytes on-io-error pass_on _is_default; fencing dont-care _is_default; } net { timeout 60 _is_default; # 1/10 seconds max-epoch-size 2048 _is_default; max-buffers 2048 _is_default; unplug-watermark 128 _is_default; connect-int 10 _is_default; # seconds ping-int 10 _is_default; # seconds sndbuf-size 131070 _is_default; # bytes ko-count 0 _is_default; after-sb-0pri disconnect _is_default; after-sb-1pri disconnect _is_default; after-sb-2pri disconnect _is_default; rr-conflict disconnect _is_default; ping-timeout 5 _is_default; # 1/10 seconds } syncer { rate 102400k; # bytes/second after -1 _is_default; al-extents 127 _is_default; verify-alg ""; } protocol C; _this_host { device "/dev/drbd1"; disk "/dev/stg-emails/md3000-0"; meta-disk internal; address X:7789; } _remote_host { address X:7789; } on debian: # drbdsetup /dev/drbd1 show disk { size 7018381312s; # bytes on-io-error pass_on _is_default; fencing dont-care _is_default; } net { timeout 60 _is_default; # 1/10 seconds max-epoch-size 2048 _is_default; max-buffers 2048 _is_default; unplug-watermark 128 _is_default; connect-int 10 _is_default; # seconds ping-int 10 _is_default; # seconds sndbuf-size 131070 _is_default; # bytes ko-count 0 _is_default; after-sb-0pri disconnect _is_default; after-sb-1pri disconnect _is_default; after-sb-2pri disconnect _is_default; rr-conflict disconnect _is_default; ping-timeout 5 _is_default; # 1/10 seconds } syncer { rate 102400k; # bytes/second after -1 _is_default; al-extents 127 _is_default; verify-alg ""; } protocol C; _this_host { device "/dev/drbd1"; disk "/dev/sdb2"; meta-disk internal; address X:7789; } _remote_host { address X:7789; } Partition sizes: debian etch: 147 1 3509190656 drbd1 from 8 18 3509587259 sdb2 redhat: 147 1 3509190656 drbd1 from 253 0 3509321728 dm-0 Something wrong with disk sizes? Good news: So, the status become WFBitMapT and the load on redhat increase to 320! This is the real problem.. but I've tried (users guide show me this, by the way, it's a very good documentation, congratulations! :D ) drbdsetup /dev/drbd1 syncer -r 30M and now the load keeps stable.. :D 1: cs:SyncSource st:Primary/Secondary ds:UpToDate/Inconsistent C r--- ns:676369175 nr:466551458 dw:1155160782 dr:439044953 al:26889259 bm:15614334 lo:0 pe:20 ua:151 ap:4 [===>................] sync'ed: 22.8% (86876/112417)M finish: 4:24:46 speed: 5,244 (18,288) K/sec resync: used:13/31 hits:127204905 misses:97214 starving:0 dirty:0 changed:97214 act_log: used:1/127 hits:35120769 misses:76453296 starving:243738 dirty:49557055 changed:26889259 On Mar 19, 2008, at 12:59 PM, Lars Ellenberg wrote: > On Wed, Mar 19, 2008 at 09:08:15AM -0300, Ítalo Rossi wrote: >> Hi, >> >> Sorry!! The configuration: >> >> # drbdsetup /dev/drbd1 show >> syncer { >> rate 102400k; # bytes/second >> after -1 _is_default; >> al-extents 127 _is_default; >> verify-alg ""; >> } > > > if that is all, you are detached. > nothing about the disk and size and so on? > what does /proc/drbd say? > > what is the actual size of your > /dev/stg-emails/md3000-0 respective /dev/sdb2? > > blockdev --getsize64 /dev/... > cat /proc/partitions > >> # cat drbd.conf: >> resource stg-emails { >> protocol C; >> disk { >> on-io-error pass_on; >> size 3426944M; > > I guess that is your problem here: > 7018381312s is exactly 3426944M, > sectors MegaByte > > and, aparently, > drbdadm has reason to believe that would be "out of range". > > -- > : Lars Ellenberg http://www.linbit.com : > : DRBD/HA support and consulting sales at linbit.com : > : LINBIT Information Technologies GmbH Tel +43-1-8178292-0 : > : Vivenotgasse 48, A-1120 Vienna/Europe Fax +43-1-8178292-82 : > __ > please use the "List-Reply" function of your email client. > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user > -- Ítalo Rossi Administração de redes Diginet Brasil adm.italo at digi.com.br (+55) 84 4008-9000 Esta mensagem, incluindo seus anexos, pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não pode usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperação. This message, including its attachments, may contain confidential and/or privileged information. If you are not the recipient or authorized person to receive this message, you must not use, copy, disclose or take any action based on this message or any information herein. If you received this message by mistake, please advise the sender immediately by replying the e- mail and deleting this message. Thank you for your cooperation. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080320/493bf75b/attachment.pgp>