[DRBD-user] Split Brain again, during reboot
Ben Clewett
ben at roadrunner.uk.com
Wed Aug 29 12:19:58 CEST 2007
Laurent,
I haven't found a solution to my split-brain problem, but I have found a
work-around which may be useful to other users.
Heartbeat and drbd were being started and stopped in the wrong order, as
heartbeat does not regard drbd as a dependency, and the default order is
alphabetical:
# cd /etc/..../rc5.d
# ls | grep drbd
K12drbd
S10drbd
# ls | grep heartbeat
K12heartbeat
S10heartbeat
The problem seems to be drbd stopping, before heartbeat executes the
'umount' and 'Secondary'.
This is a repeatable failure on my servers, it tends to cause
split-brain most times, requiring the loss of a disk's data:
kernel: drbd0: Handshake successful: DRBD Network Protocol version 86
kernel: drbd0: Split-Brain detected, dropping connection!
kernel: drbd0: self
E34C568E597A770D:1C06E391A1E5477E:E87538E5DA462E1E:56F445DB49EBD97F
kernel: drbd0: peer
8F0799656A81A283:1C06E391A1E5477F:E87538E5DA462E1E:56F445DB49EBD97F
kernel: drbd0: conn( WFReportParams -> Disconnecting )
However, if I change the order then I have a work-around for my
split-brain. Problem solved.
I hope this is of some use to other users.
Ben
Laurent CARON wrote:
> Ben Clewett wrote:
>>
>> Hi Guys,
>>
>> (Sorry if multiple postings, having problems with email)
>>
>> Sometime during the last few days my DRBD (8.0.3) entered a split-brain.
>>
>> I am not sure what caused it, and wonder whether there are any experts
>> on reading logs who might be able to help me?
>>
>> Starting from a good state, I requested a /sbin/reboot:
>>
>
> Hi,
>
> Can you please post the output of cat /proc/drbd ?
>
> Thanks
>
*************************************************************************
This e-mail is confidential and may be legally privileged. It is intended
solely for the use of the individual(s) to whom it is addressed. Any
content in this message is not necessarily a view or statement from Road
Tech Computer Systems Limited but is that of the individual sender. If
you are not the intended recipient, be advised that you have received
this e-mail in error and that any use, dissemination, forwarding,
printing, or copying of this e-mail is strictly prohibited. We use
reasonable endeavours to virus scan all e-mails leaving the company but
no warranty is given that this e-mail and any attachments are virus free.
You should undertake your own virus checking. The right to monitor e-mail
communications through our networks is reserved by us
Road Tech Computer Systems Ltd. Shenley Hall, Rectory Lane, Shenley,
Radlett, Hertfordshire, WD7 9AN. - VAT Registration No GB 449 3582 17
Registered in England No: 02017435, Registered Address: Charter Court,
Midland Road, Hemel Hempstead, Hertfordshire, HP2 5GE.
*************************************************************************
More information about the drbd-user
mailing list