Re: [DRBD-user] Reproducible ASSERT( os.conn == C_WF_REPORT_PARAMS )

2013-07-15 Thread Brian Candler
In that backend script, add a loop before the promote, that checks that the connection state really is "Connected", and the disk state really is "UpToDate". It is probably supposed to already wait in this fashion, but apparently it does not. Many thanks for your help! Here is what the code curr

Re: [DRBD-user] Configuring the scheduler for a DRBD backend

2013-07-15 Thread Wiebe Cazemier
- Original Message - > From: "Lars Ellenberg" > To: drbd-user@lists.linbit.com > Sent: Monday, 15 July, 2013 5:56:51 PM > Subject: Re: [DRBD-user] Configuring the scheduler for a DRBD backend > > Why not just use deadline as default scheduler, and be done with it > ;-) > (kernel boot para

Re: [DRBD-user] Configuring the scheduler for a DRBD backend

2013-07-15 Thread Lars Ellenberg
On Mon, Jul 15, 2013 at 04:59:42PM +0200, Wiebe Cazemier wrote: > Hi, > > As specified here: > > http://www.drbd.org/users-guide-8.3/s-latency-tuning.html > > I'd like to tune some params. But, in: > > echo deadline > /sys/block/device/queue/scheduler > > what is 'device'? I have an LV on RA

Re: [DRBD-user] Reproducible ASSERT( os.conn == C_WF_REPORT_PARAMS )

2013-07-15 Thread Lars Ellenberg
On Fri, Jul 12, 2013 at 06:10:26PM +0100, Brian Candler wrote: > I have a setup where I can reliably reproduce the following within a > few minutes: > > Jul 11 10:59:46 wrn-vm2 kernel: [236603.130604] block drbd0: > uuid_compare()=-1 by rule 35 > Jul 11 10:59:46 wrn-vm2 kernel: [236603.135779] blo

[DRBD-user] Configuring the scheduler for a DRBD backend

2013-07-15 Thread Wiebe Cazemier
Hi, As specified here: http://www.drbd.org/users-guide-8.3/s-latency-tuning.html I'd like to tune some params. But, in: echo deadline > /sys/block/device/queue/scheduler what is 'device'? I have an LV on RAID as a DRBD back-end. Which of these devices do I change the scheduler of: /dev/sda

Re: [DRBD-user] [drbd-8.4.3] Initial full synchronization starts without `drbdadm primary --force resource'

2013-07-15 Thread Hiroshi Fujishima
Hi Lars, Lars Ellenberg writes: > On Thu, Jul 11, 2013 at 05:32:00PM +0900, Hiroshi Fujishima wrote: >> Hi all, >> >> With drbd-8.4.3, I noticed that performing `drbdadm attach r0' with a >> newly-initialized empty disk causes initial full synchronization. >> >> In the following document, it s