Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

write block on primary when secondary diskless (DRBD8-3-0)

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


guohuai_li at hotmail

Nov 13, 2009, 2:40 AM

Post #1 of 3 (872 views)
Permalink
write block on primary when secondary diskless (DRBD8-3-0)

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.
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_5:092010


guohuai_li at hotmail

Nov 13, 2009, 6:02 PM

Post #2 of 3 (816 views)
Permalink
Re: write block on primary when secondary diskless (DRBD8-3-0) [In reply to]

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.
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_2:092009


guohuai_li at hotmail

Nov 15, 2009, 4:54 PM

Post #3 of 3 (795 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

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.