
guohuai_li at hotmail
Nov 15, 2009, 4:54 PM
Post #3 of 3
(794 views)
Permalink
|
|
Re: write block on primary when secondary diskless (DRBD8-3-0)
[In reply to]
|
|
Does it need to changed to "Protocol B" instead of "Protocol C" in drbd.conf ? From: guohuai_li [at] hotmail To: drbd-user [at] lists; lichanglong [at] hisense Date: Sat, 14 Nov 2009 10:02:11 +0800 Subject: Re: [DRBD-user] write block on primary when secondary diskless (DRBD8-3-0) Dear all, Would you help to explain this ? regards, Edward From: guohuai_li [at] hotmail To: drbd-user [at] lists; guohuai_li [at] hotmail; liulei [at] hisense; lichanglong [at] hisense; yao.xuefeng [at] gmail Subject: write block on primary when secondary diskless (DRBD8-3-0) Date: Fri, 13 Nov 2009 18:40:30 +0800 Hi, dear all, on drbd.conf, use protocol C. DRBD works well fistly. ( both primany node and seconday node works well.) But somehow, the seconday machine has disk problem and in the /var/log/messge of the primary node, has below info: +++++++++++++++++++++++++++++++++ Nov 13 00:12:30 cs-mdc-b kernel: drbd0: pdsk( UpToDate -> Diskless ) Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Creating new current UUID Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles? Nov 13 00:12:30 cs-mdc-b kernel: drbd1: pdsk( UpToDate -> Diskless ) Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles? Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles? Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles? Nov 13 00:12:30 cs-mdc-b kernel: drbd0: Got NegAck packet. Peer is in troubles? Nov 13 00:12:30 cs-mdc-b kernel: drbd1: Creating new current UUID +++++++++++++++++++++++++++++++++ then at this time, the write operation on primary node is blocked. (the write operation is like this: call linux api "msync", using MS_SYNC mode.) Would you help to explain this ? Is this a bug of DRBD ? or I configured wrongly ? Your help is highly appreciated. :-) Thanks for your reading. best wishes, Edward Keep your friends updated— even when you’re not signed in. Windows Live: Make it easier for your friends to see what you’re up to on Facebook. _________________________________________________________________ Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009
|